javassist icon indicating copy to clipboard operation
javassist copied to clipboard

Compiler won't promote int to long automatically

Open ThatGamerBlue opened this issue 2 years ago • 0 comments

When compiling a method that passes an int to a method that takes a long, the compiler will not automatically promote the int to a long automatically.

Using Javassist version 3.29.0-GA

Test case attached. PromotionBug.java.txt

ThatGamerBlue avatar Aug 09 '22 02:08 ThatGamerBlue