Compiler won't promote int to long automatically
ThatGamerBlue opened this issue · 0 comments
ThatGamerBlue commented
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