8313891: JFR: Incorrect exception message for RecordedObject::getInt
Reviewed-by: mgronlun
This commit is contained in:
parent
0e2c72d7a5
commit
213d3c449a
@ -539,7 +539,7 @@ public sealed class RecordedObject
|
||||
case UnsignedValue(Integer i) -> i;
|
||||
case UnsignedValue(Short s) -> Short.toUnsignedInt(s);
|
||||
case UnsignedValue(Byte b) -> Byte.toUnsignedInt(b);
|
||||
case null, default -> throw newIllegalArgumentException(name, "short");
|
||||
case null, default -> throw newIllegalArgumentException(name, "int");
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user