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

java.io.UTFDataFormatException raised by javac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.3, 1.2.0
    • tools
    • None
    • sparc
    • solaris_2.5.1, solaris_2.6

      while trying workaround for bug#4071527,
      $ javac -J-oss64m a.java
      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

            wmaddoxsunw William Maddox (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: