Closed Paullo612 closed 1 year ago
Steps to reproduce:
src/main/resources/hellofxml/hello.fxml
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.VBox?>
3. Observe `java.lang.VerifyError`:
Caused by: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: hellofxml/$Hello$CompiledFXMLLoader$Expression0.update(I)V @100: swap Reason: Type double_2nd (current frame, stack[1]) is not assignable to category1 type Current Frame: bci: @100 flags: { } locals: { 'hellofxml/$Hello$CompiledFXMLLoader$Expression0', integer, integer } stack: { double, double_2nd, 'hellofxml/$Hello$CompiledFXMLLoader$Expression0' } Bytecode: 0000000: 2ab4 0016 b900 1c01 0003 3d1b aa00 0000 0000010: 0000 0049 0000 0000 0000 0001 0000 0018 0000020: 0000 0046 2ab4 0016 2ab4 0022 03b9 0026 0000030: 0300 2a2a b400 22b6 002c b500 2e2a b400 0000040: 162a b400 222a b400 22b6 0032 03b9 0036 0000050: 0400 a700 0dbb 0038 5912 3ab7 003e bf2a 0000060: b400 2e2a 5fb6 0044 2ab4 0016 b900 4701 0000070: 00a7 000f 4d2a b400 16b9 0047 0100 2cbf 0000080: b1 Exception Handler Table: bci [9, 104] => handler: 116 Stackmap Table: append_frame(@36,Integer) same_frame(@82) same_frame(@85) same_frame(@95) full_frame(@116,{Object[#2],Integer},{Object[#73]}) append_frame(@128,Integer) at hellofxml/hellofxml.$Hello$CompiledFXMLLoader.doLoad(Unknown Source) at hellofxml/hellofxml.$Hello$CompiledFXMLLoader.doLoad(Unknown Source) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.CompiledFXMLLoader.load(CompiledFXMLLoader.java:133) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.MLFXLoader.load(MLFXLoader.java:310) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.MLFXLoader.load(MLFXLoader.java:63) at hellofxml/hellofx.HelloFXML.start(HelloFXML.java:50) at javafx.graphics@20/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455) at javafx.graphics@20/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@20/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics@20/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) ... 1 more
Steps to reproduce:
src/main/resources/hellofxml/hello.fxml
with following FXML code:Caused by: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: hellofxml/$Hello$CompiledFXMLLoader$Expression0.update(I)V @100: swap Reason: Type double_2nd (current frame, stack[1]) is not assignable to category1 type Current Frame: bci: @100 flags: { } locals: { 'hellofxml/$Hello$CompiledFXMLLoader$Expression0', integer, integer } stack: { double, double_2nd, 'hellofxml/$Hello$CompiledFXMLLoader$Expression0' } Bytecode: 0000000: 2ab4 0016 b900 1c01 0003 3d1b aa00 0000 0000010: 0000 0049 0000 0000 0000 0001 0000 0018 0000020: 0000 0046 2ab4 0016 2ab4 0022 03b9 0026 0000030: 0300 2a2a b400 22b6 002c b500 2e2a b400 0000040: 162a b400 222a b400 22b6 0032 03b9 0036 0000050: 0400 a700 0dbb 0038 5912 3ab7 003e bf2a 0000060: b400 2e2a 5fb6 0044 2ab4 0016 b900 4701 0000070: 00a7 000f 4d2a b400 16b9 0047 0100 2cbf 0000080: b1
Exception Handler Table: bci [9, 104] => handler: 116 Stackmap Table: append_frame(@36,Integer) same_frame(@82) same_frame(@85) same_frame(@95) full_frame(@116,{Object[#2],Integer},{Object[#73]}) append_frame(@128,Integer) at hellofxml/hellofxml.$Hello$CompiledFXMLLoader.doLoad(Unknown Source) at hellofxml/hellofxml.$Hello$CompiledFXMLLoader.doLoad(Unknown Source) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.CompiledFXMLLoader.load(CompiledFXMLLoader.java:133) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.MLFXLoader.load(MLFXLoader.java:310) at io.github.paullo612.mlfx.api.core@0.6.1-SNAPSHOT/io.github.paullo612.mlfx.api.MLFXLoader.load(MLFXLoader.java:63) at hellofxml/hellofx.HelloFXML.start(HelloFXML.java:50) at javafx.graphics@20/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at javafx.graphics@20/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455) at javafx.graphics@20/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at javafx.graphics@20/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at javafx.graphics@20/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316) ... 1 more