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

fast-64 build fails with exception java.lang.IllegalArgumentException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      Building fast-64 JDK with lastest 64 bit JVM causes a VM exception but compiling
      with setenv LC_CTYPE en_US makes the bug disappear. Could be a bug in the nio code.


      gnumake[4]: Entering directory `/net/curious-george.east/disk1/ws/fast-64/make/sun/javac/recompile'
      >>>Recursively making library all @ Tue Jan 23 13:59:39 EST 2001 ...
      gnumake[5]: Entering directory `/net/curious-george.east/disk1/ws/fast-64/make/sun/javac/recompile/library'
      gnumake classes copy-classes VARIANT=OPT
      gnumake[6]: Entering directory `/net/curious-george.east/disk1/ws/fast-64/make/sun/javac/recompile/library'
      /usr/bin/mkdir -p ../../../../../build/solaris-sparc/tmp/java/java.lang/obj64
      rm -f ../../../../../build/solaris-sparc/tmp/java/java.lang/.classes.list
      if [ -s ../../../../../build/solaris-sparc/tmp/java/java.lang/.classes.list ] ; then ../../../../../build/solaris-sparc/bin/javac -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx128m -J-Xmaxf1 -classpath ../../../../../build/solaris-sparc/tmp/java/java.lang/library/newclasses -bootclasspath "" -sourcepath "../../../../../build/solaris-sparc/gensrc:../../../../../src/solaris/classes:../../../../../src/share/classes" -d ../../../../../build/solaris-sparc/tmp/java/java.lang/library/newclasses ../../../../../src/share/classes/java/lang/Object.java ../../../../../src/share/classes/java/lang/Class.java ../../../../../src/share/classes/java/lang/Thread.java

      ....
      ....
      lots more files .......
      ....
      An exception has occurred in the compiler (1.4.0-internal). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.IllegalArgumentException
      at java.nio.Buffer.limit(Buffer.java:226)
      at java.nio.Buffer.<init>(Buffer.java:153)
      at java.nio.CharBuffer.<init>(CharBuffer.java:230)
      at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:29)
      at java.nio.CharBuffer.wrap(CharBuffer.java:297)
      at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:355)
      at java.io.InputStreamReader.read(InputStreamReader.java:478)
      at com.sun.tools.javac.v8.parser.Scanner.<init>(Scanner.java:121)
      at com.sun.tools.javac.v8.JavaCompiler.parse(JavaCompiler.java:248)
      at com.sun.tools.javac.v8.JavaCompiler.parse(JavaCompiler.java:275)
      at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:363)
      at com.sun.tools.javac.v8.Main.compile(Main.java:301)
      at com.sun.tools.javac.Main.main(Main.java:15)
      gnumake[6]: *** [.compile.classlist] Error 4
      gnumake[6]: Leaving directory `/net/curious-george.east/disk1/ws/fast-64/make/sun/javac/recompile/library'
      gnumake[5]: *** [optimized] Error 2
      gnumake[5]: Leaving directory `/net/curious-george.east/disk1/ws/fast-64/make/sun/javac/recompile/library'

        Attachments

          Activity

            People

            • Assignee:
              phh Paul Hohensee
              Reporter:
              collins Gary Collins (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: