-
Bug
-
Resolution: Fixed
-
P5
-
1.3.0
-
beta
-
generic
-
solaris_8
in src/share/classes/java/io/ObjectInputStream.java we have the following code:
try {
if ((cl = resolveProxyClass(ifaces)) == null) {
throw new ClassNotFoundException("null class");
}
} catch (ClassNotFoundException ex) {
resolveEx = ex;
}
This code might be more efficient if rewritten as
try {
if ((cl = resolveProxyClass(ifaces)) == null) {
resolveEx = ClassNotFoundException("null class");
}
} catch (ClassNotFoundException ex) {
resolveEx = ex;
}
This pattern occurs once more within that file.
try {
if ((cl = resolveProxyClass(ifaces)) == null) {
throw new ClassNotFoundException("null class");
}
} catch (ClassNotFoundException ex) {
resolveEx = ex;
}
This code might be more efficient if rewritten as
try {
if ((cl = resolveProxyClass(ifaces)) == null) {
resolveEx = ClassNotFoundException("null class");
}
} catch (ClassNotFoundException ex) {
resolveEx = ex;
}
This pattern occurs once more within that file.