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

new test/java/lang/ThreadLocal/TestUniqueThreadIdGenerator.java fails to compile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 6
    • 6
    • core-libs
    • None
    • b96
    • generic
    • generic

      test/java/lang/ThreadLocal/TestUniqueThreadIdGenerator.java fails to
      compile with "illegal start of expression".

      This started with the day 174d putback/build.

      Here is the relevant section of a .jtr file (see attachments for the entire file):

      #section:compile
      ----------messages:(3/182)----------
      command: compile /w/auto/mustang/ws/j2se/test/java/lang/ThreadLocal/TestUniqueThreadIdGenerator.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.027
      ----------System.out:(0/0)----------
      ----------System.err:(4/219)----------
      /w/auto/mustang/ws/j2se/test/java/lang/ThreadLocal/TestUniqueThreadIdGenerator.java:63: illegal start of expression
      TestUniqueThreadIdGenerator<Integer>[threadCount];
      ^
      1 error
      result: Failed. Compilation failed


      test result: Failed. Compilation failed

            psoper Pete Soper (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: