mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Fix java.lang.reflect.Field.getLong()
The bug was that the long was cast to an int, cutting off the most significant bytes. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
efb3ef9b51
commit
2904dd738e
@ -99,7 +99,7 @@ public class Field<T> extends AccessibleObject {
|
||||
|
||||
case LongField:
|
||||
return Long.valueOf
|
||||
((int) getPrimitive(target, vmField.code, vmField.offset));
|
||||
(getPrimitive(target, vmField.code, vmField.offset));
|
||||
|
||||
case FloatField:
|
||||
return Float.valueOf
|
||||
|
Loading…
Reference in New Issue
Block a user