jdk/src/java.base/share/classes/sun/reflect/UnsafeQualifiedStaticFloatFieldAccessorImpl.java
equal
deleted
inserted
replaced
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 } |