JDK-6446082 : new test/java/lang/ThreadLocal/TestUniqueThreadIdGenerator.java fails to compile
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 6
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-07-04
  • Updated: 2010-08-19
  • Resolved: 2006-08-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b96Fixed
Related Reports
Relates :  
Description
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

Comments
EVALUATION Autobuild reports this incomplete test of a code example is still "failing." Moved status to "Fix failed." Finally noticed that the priority of this bug is set inappropirate and that's been adjused.
21-08-2006

EVALUATION This test was supposed to be put back in a disabled state. It will get the appropriate "skip this" keyword and be parked until it can be finished.
17-07-2006