You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When code like the following is compiled with the option --jvm, haxe forgets the volatile modifier.
classMain {
@:volatilevarx:Int;
}
The output of javap shows that the volatile modifier is not present:
Compiled from "foo/Main.hx"
public class foo.Main extends haxe.jvm.Object {
public int x;
public static void main(java.lang.String[]);
public static void main();
public foo.Main(haxe.jvm.EmptyConstructor);
public java.lang.Object _hx_getField(java.lang.String);
public void _hx_setField(java.lang.String, java.lang.Object);
}
The text was updated successfully, but these errors were encountered:
Environment
macos monterey 12.1
haxe 4.2.4
When code like the following is compiled with the option --jvm, haxe forgets the volatile modifier.
The output of javap shows that the volatile modifier is not present:
The text was updated successfully, but these errors were encountered: