Let's also make that a warning now that we don't think it's going to happen as
a matter of course on old VMs. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5020 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -427,8 +427,8 @@ public class Streamer
|
|||||||
try {
|
try {
|
||||||
isInner = (_target.getDeclaringClass() != null);
|
isInner = (_target.getDeclaringClass() != null);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
log.info("Failure checking innerness of class [class=" + _target.getName() +
|
log.warning("Failure checking innerness of class [class=" + _target.getName() +
|
||||||
", error=" + t + "].");
|
", error=" + t + "].");
|
||||||
}
|
}
|
||||||
if (isInner && !isStatic) {
|
if (isInner && !isStatic) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
|
|||||||
Reference in New Issue
Block a user