Skip to content

Commit e135cd0

Browse files
committed
Remove clinit
1 parent 5c86fb6 commit e135cd0

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/Core/JavaClassInvoker.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ public function __construct(JavaClass $javaClass, array $options)
9292
$this->staticMethods,
9393
$this->options
9494
);
95-
96-
// call <clinit>
97-
if ($this->options['preload'] ?? GlobalOptions::get('preload') ?? Runtime::PRELOAD) {
98-
if (isset($this->staticMethods['<clinit>'])) {
99-
$this->getStatic()->getMethods()->call('<clinit>');
100-
}
101-
}
10295
}
10396

10497
/**

0 commit comments

Comments
 (0)