Skip to content

Commit

Permalink
Merged PR #117 which successfully fixes issue #116.
Browse files Browse the repository at this point in the history
  • Loading branch information
aunkrig committed Mar 16, 2020
1 parent e5ca5d9 commit ad44744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions janino/src/main/java/org/codehaus/janino/UnitCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -10875,6 +10875,8 @@ interface Compilable { void compile() throws CompileException; }
}
if (this.isWideningReferenceConvertible(boxedType, targetType)) {
this.boxingConversion(locatable, sourceType, boxedType);
this.getCodeContext().popOperand(boxedType.getDescriptor());
this.getCodeContext().pushOperand(targetType.getDescriptor());
return true;
}
}
Expand Down

0 comments on commit ad44744

Please sign in to comment.