|
Quick Lists
|
|
Bug ID:
|
6627364
|
|
Votes
|
1
|
|
Synopsis
|
javac needs Float and Double on the bootclasspath even when not directly used
|
|
Category
|
java:compiler
|
|
Reported Against
|
|
|
Release Fixed
|
7(b34),
6u10(b12) (Bug ID:2158176)
|
|
State
|
10-Fix Delivered,
request for enhancement
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
6627362
,
6627366
|
|
Submit Date
|
08-NOV-2007
|
|
Description
|
javac needs Float and Double on the classpath, even when float and double values are not being used.
Posted Date : 2007-11-08 01:38:53.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
The problem occurs in the unboxing code, where the compiler looks to see if a target type is a subtype of any of the box types.
Posted Date : 2007-11-08 01:38:53.0
Should work to have empty classes for Float and Double on the bootclasspath for compilation.
Posted Date : 2007-11-08 01:43:26.0
Float and Double are required when checking if the unboxing conversion JLS 3, 5.1.7.
The difficulty here is that checking for unboxing is part of the third phase of method resolution, JLS3 15.12.2, and 15.12.2.4, so even overload resolution may indirectly use Float and Double.
Posted Date : 2007-11-08 23:45:50.0
Will consider synthesizing the classes if they are not available on the bootclasspath.
Posted Date : 2007-12-06 21:55:02.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |