Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4056998

the large string literals using crashes the compiler

XMLWordPrintable

    • x86, sparc
    • solaris_2.5, solaris_2.6, windows_95

      szC45993

      The test FieldMethod00101.java crashes the compiler (jdk1.1.2F):

      ----------------------------------------------------------------------------
      exec: /export/ld14/java/dest/jdk1.1.2F/solaris/bin/javac -d /net/novo41/opt/java/zss/workdir2/classes /export/ld12/java/zss/jck11_zss/tests/vm/constantpool/String/String005/String00501/String00501.java CLASSPATH=/export/ld32/sqe/harness_release/classes:/net/novo41/opt/java/zss/workdir2/classes:
      command exited, exit=1
      command result: status not set
      ----------ref:compile.java(0/0)----------
      ----------log:compile.java(10/550)----------
      java.io.UTFDataFormatException
      at java.io.DataOutputStream.writeUTF(DataOutputStream.java)
      at sun.tools.asm.StringConstantData.write(StringConstantData.java)
      at sun.tools.asm.ConstantPool.write(ConstantPool.java)
      at sun.tools.javac.SourceClass.compileClass(SourceClass.java)
      at sun.tools.javac.SourceClass.compile(SourceClass.java)
      at sun.tools.javac.Main.compile(Main.java)
      at sun.tools.javac.Main.main(Main.java)
      error: An exception has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
      1 error
      test result: Failed. Compilation failed unexpectededly [exit code 1]
      ----------------------------------------------------------------------------

      This is a new JCK test that is not available yet.
      The test text contains very long line and so can not be included in this
      description. See attachments instead.
      The test will be a part of the next after 1.1.2a JCK release:
      tests/vm/constantpool/String/String005/String00501/String00501.java

            wmaddoxsunw William Maddox (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: