Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
Describe the bug
When using @Jailbreak to access a method (static or instance) that returns a short the class fails to compile with "Unable to find method invokeStatic_short" or "Unable to find method invoke_short" respectively.
To Reproduce
Steps to reproduce the behavior:
Use @Jailbreak on any class that has a method that returns a short
Call said method
Try to compile
Expected behavior
The class should compile without errors and the method call should run without problems.
Desktop (please complete the following information):
OS Type & Version: Windows 10 Pro 22H2
Java/JDK version: Adoptium JDK 17.0.5.8
IDE version (IntelliJ IDEA or Android Studio): IntelliJ IDEA 2023.2
Manifold version: 2023.1.13
Manifold IntelliJ plugin version: 2023.1.11
Additional context
The cause of that, as far I can tell, seems to be that those two methods (invoke_short and invokeStatic_short) just do not exist in ReflectionRuntimeMethods.
Describe the bug When using
@Jailbreak
to access a method (static or instance) that returns ashort
the class fails to compile with "Unable to find method invokeStatic_short" or "Unable to find method invoke_short" respectively.To Reproduce Steps to reproduce the behavior:
@Jailbreak
on any class that has a method that returns ashort
Expected behavior The class should compile without errors and the method call should run without problems.
Desktop (please complete the following information):
Additional context The cause of that, as far I can tell, seems to be that those two methods (
invoke_short
andinvokeStatic_short
) just do not exist inReflectionRuntimeMethods
.Stack trace Output from compileJava task