jdk/src/java.base/share/classes/sun/reflect/UnsafeQualifiedStaticFloatFieldAccessorImpl.java
changeset 26456 24d86ff9740f
parent 25859 3317bb8137f4
equal deleted inserted replaced
26455:195a6f3e0cd0 26456:24d86ff9740f
    33     UnsafeQualifiedStaticFloatFieldAccessorImpl(Field field, boolean isReadOnly) {
    33     UnsafeQualifiedStaticFloatFieldAccessorImpl(Field field, boolean isReadOnly) {
    34         super(field, isReadOnly);
    34         super(field, isReadOnly);
    35     }
    35     }
    36 
    36 
    37     public Object get(Object obj) throws IllegalArgumentException {
    37     public Object get(Object obj) throws IllegalArgumentException {
    38         return new Float(getFloat(obj));
    38         return Float.valueOf(getFloat(obj));
    39     }
    39     }
    40 
    40 
    41     public boolean getBoolean(Object obj) throws IllegalArgumentException {
    41     public boolean getBoolean(Object obj) throws IllegalArgumentException {
    42         throw newGetBooleanIllegalArgumentException();
    42         throw newGetBooleanIllegalArgumentException();
    43     }
    43     }