Changeset 2356


Ignore:
Timestamp:
Feb 9, 2007, 9:21:36 PM (14 years ago)
Author:
yura
Message:
  • Error with casting.
  • String class.
Location:
to-imperative/trunk/java/org/refal/plus
Files:
3 added
4 edited

Legend:

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

    r2335 r2356  
    307307                        mv.visitInsn(Opcodes.DUP);
    308308                        mv.visitJumpInsn(Opcodes.IFNULL, l1);
    309                         if (type.equals(Type.getType("Ljava/lang/String;")))
     309                        if (type.equals(Type.getType("Ljava/lang/String;"))) {
    310310                                mv.visitMethodInsn(Opcodes.INVOKESTATIC, "org/refal/plus/Word", "valueOf", "(Ljava/lang/String;)Lorg/refal/plus/Word;");
     311                                mv.visitTypeInsn(Opcodes.CHECKCAST, "java/lang/Object"); // TODO: It is not needed.
     312                        }
    311313                        mv.visitJumpInsn(Opcodes.GOTO, l2);
    312314                        mv.visitLabel(l1);
  • to-imperative/trunk/java/org/refal/plus/wrappers/java/lang/Integer.rfi

    • Property svn:keywords set to Author Date Id Revision
  • to-imperative/trunk/java/org/refal/plus/wrappers/org/objectweb/asm/Label.rfi

    • Property svn:keywords set to Author Date Id Revision
Note: See TracChangeset for help on using the changeset viewer.