mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00

6627364: javac needs Float and Double on the bootclasspath even when not directly used 6627366: javac needs Cloneable and Serializable on the classpath even when not directly used Reviewed-by: darcy
18 lines
277 B
Java
18 lines
277 B
Java
package java.lang;
|
|
|
|
public class Float extends Number
|
|
{
|
|
public static Float valueOf(float v) {
|
|
return new Float(v);
|
|
}
|
|
|
|
public Float(float v) {
|
|
value = v;
|
|
}
|
|
|
|
public float floatValue() {
|
|
return value;
|
|
}
|
|
|
|
private float value;
|
|
}
|