> The javadocs of the following methods used deprecated constructors of the > primitive wrapper classes: > > java.lang.ArrayStoreException > java.lang.ClassCastException > java.lang.Double.compare(double, double) > java.lang.Float.compare(float, float) > java.lang.Integer.getInteger(String, int) > java.lang.Integer.valueOf(String) > java.lang.Integer.valueOf(String, int) > java.lang.Long.getLong(String, long) > java.lang.Long.valueOf(String) > java.lang.Long.valueOf(String, int) > java.lang.Short.valueOf(String) > java.lang.Short.valueOf(String, int) > > This change replaces the constructors with .valueOf() methods except > java.lang.ClassCastException which was already fixed in JDK-8289730
Justin Lu has updated the pull request incrementally with one additional commit since the last revision: Include Byte in changes ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11912/files - new: https://git.openjdk.org/jdk/pull/11912/files/fc79e191..eb88d193 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11912&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11912&range=00-01 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/11912.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11912/head:pull/11912 PR: https://git.openjdk.org/jdk/pull/11912