hg: jdk8/tl/jdk: 4504839: Java libraries should provide support for unsigned integer arithmetic; ...

joe.darcy at oracle.com joe.darcy at oracle.com
Sat Jan 21 01:56:53 UTC 2012


Changeset: 71200c517524
Author:    darcy
Date:      2012-01-20 17:56 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71200c517524

4504839: Java libraries should provide support for unsigned integer arithmetic
4215269: Some Integer.toHexString(int) results cannot be decoded back to an int
6322074: Converting integers to string as if unsigned
Reviewed-by: mduigou, emcmanus, flar

! src/share/classes/java/lang/Byte.java
! src/share/classes/java/lang/Integer.java
! src/share/classes/java/lang/Long.java
! src/share/classes/java/lang/Short.java
+ test/java/lang/Integer/Unsigned.java
+ test/java/lang/Long/Unsigned.java




More information about the security-dev mailing list