[security-dev 01289]: hg: jdk7/tl/jdk: 6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String); ...

joe.darcy at sun.com joe.darcy at sun.com
Wed Oct 7 14:06:23 PDT 2009


Changeset: e7ad502130ba
Author:    darcy
Date:      2009-10-07 14:04 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e7ad502130ba

6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String)
6655735: Integer.toString() and String.valueOf(int) contain slow delegations
Reviewed-by: lancea

! src/share/classes/java/lang/Byte.java
! src/share/classes/java/lang/Double.java
! src/share/classes/java/lang/Float.java
! src/share/classes/java/lang/Integer.java
! src/share/classes/java/lang/Long.java
! src/share/classes/java/lang/Short.java
! src/share/classes/java/lang/String.java




More information about the security-dev mailing list