Skip to content

Commit 5eb6f9a

Browse files
committed
enable class initializers (static constructors)
1 parent 6e9ea1f commit 5eb6f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de/inetsoftware/jwebassembly/module/ModuleGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void prepareFinish() throws IOException {
278278
do {
279279
scanFunctions();
280280
functCount = functions.size(); // scan the functions can find new needed types
281-
//TODO static code disabled: scanForClinit();
281+
scanForClinit();
282282
types.scanTypeHierarchy( classFileLoader ); // scan the type hierarchy can find new functions
283283
} while( functCount < functions.size() );
284284

0 commit comments

Comments
 (0)