|
1 | 1 | /* |
2 | | - * Copyright (c) 2008-2019 Emmanuel Dupuy. |
| 2 | + * Copyright (c) 2008, 2019 Emmanuel Dupuy. |
3 | 3 | * This project is distributed under the GPLv3 license. |
4 | 4 | * This is a Copyleft license that gives the user the right to use, |
5 | 5 | * copy and modify the code freely for non-commercial purposes. |
@@ -1013,9 +1013,9 @@ private void parseLDC(DefaultStack<Expression> stack, ConstantPool constants, in |
1013 | 1013 | long l = ((ConstantLong)constant).getValue(); |
1014 | 1014 |
|
1015 | 1015 | if (l == Long.MIN_VALUE) { |
1016 | | - stack.push(new FieldReferenceExpression(lineNumber, TYPE_LONG, new ObjectTypeReferenceExpression(lineNumber, ObjectType.TYPE_FLOAT), "java/lang/Long", "MIN_VALUE", "J")); |
| 1016 | + stack.push(new FieldReferenceExpression(lineNumber, TYPE_LONG, new ObjectTypeReferenceExpression(lineNumber, ObjectType.TYPE_LONG), "java/lang/Long", "MIN_VALUE", "J")); |
1017 | 1017 | } else if (l == Long.MAX_VALUE) { |
1018 | | - stack.push(new FieldReferenceExpression(lineNumber, TYPE_LONG, new ObjectTypeReferenceExpression(lineNumber, ObjectType.TYPE_FLOAT), "java/lang/Long", "MAX_VALUE", "J")); |
| 1018 | + stack.push(new FieldReferenceExpression(lineNumber, TYPE_LONG, new ObjectTypeReferenceExpression(lineNumber, ObjectType.TYPE_LONG), "java/lang/Long", "MAX_VALUE", "J")); |
1019 | 1019 | } else { |
1020 | 1020 | stack.push(new LongConstantExpression(lineNumber, l)); |
1021 | 1021 | } |
|
0 commit comments