|
Quick Lists
|
|
Bug ID:
|
6759796
|
|
Votes
|
0
|
|
Synopsis
|
test/tools/javac/6348193/T6348193.java fails if there are empty entries on the bootclasspath
|
|
Category
|
java:compiler
|
|
Reported Against
|
|
|
Release Fixed
|
7(b39),
6-open(b13) (Bug ID:2168857)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
15-OCT-2008
|
|
Description
|
The Java syystem (boot) classloader is inconsistent w.r.t. empty entries on the bootclasspath. They are ignored for the purposes of loading classes, but not ignored when locating resources. The latter behavior affects this test which uses getResource() to locate a class file. In the specific circumstances of this test (which is in the unnamed package, per usual), the empty path element can cause getResource to return an unexpected result.
The fix/workaround is to use System.getProperties("test.classes") instead of getResource().
Posted Date : 2008-10-15 17:05:13.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
The fix/workaround is to use System.getProperties("test.classes") instead of getResource().
Posted Date : 2008-10-15 18:37:07.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |