Changeset 2692


Ignore:
Timestamp:
Apr 17, 2007, 2:07:37 PM (14 years ago)
Author:
yura
Message:
  • Previous WrapGen? uses incorrect format of Word.boolValue.
  • Due to annotation using, Java 1.4 is not supported any more. Java 5.0 class files are wrapped.
Location:
to-imperative/trunk/java/org/refal/plus
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/java/org/refal/plus/wrapgen/WrapGen.java

    r2660 r2692  
    191191                case Type.BOOLEAN:
    192192                        mv.visitTypeInsn(Opcodes.CHECKCAST, "org/refal/plus/Word");
    193                         mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "org/refal/plus/Word", "boolValue", "()B");
     193                        mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "org/refal/plus/Word", "boolValue", "()Z");
    194194                        break;
    195195                case Type.CHAR:
     
    288288                switch (type.getSort()) {
    289289                case Type.BOOLEAN:
    290                         mv.visitMethodInsn(Opcodes.INVOKESTATIC, "org/refal/plus/Word", "valueOf", "(B)Lorg/refal/plus/Word;");
     290                        mv.visitMethodInsn(Opcodes.INVOKESTATIC, "org/refal/plus/Word", "valueOf", "(Z)Lorg/refal/plus/Word;");
    291291                        break;
    292292                case Type.CHAR:
Note: See TracChangeset for help on using the changeset viewer.