mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Does not write a static constructors only because it has a replacement.
This commit is contained in:
parent
7eb0406db8
commit
6e9ea1f1e8
@ -258,7 +258,7 @@ class FunctionManager {
|
||||
*/
|
||||
@Nullable
|
||||
Iterator<FunctionName> getWriteLaterClinit() {
|
||||
return iterator( entry -> entry.getKey().methodName.equals( "<clinit>" ) );
|
||||
return iterator( entry -> entry.getKey().methodName.equals( "<clinit>" ) && entry.getValue().state != State.None );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user