Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #3332 from jglick/message-JENKINS-49795
  • Loading branch information
jglick committed Mar 7, 2018
2 parents c5e96fb + 48c95f5 commit 93b9510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/jenkins/security/ClassFilterImpl.java
Expand Up @@ -157,11 +157,11 @@ public boolean isBlacklisted(Class _c) {
String location = codeSource(c);
if (location != null) {
if (c.isAnonymousClass()) { // e.g., pkg.Outer$1
LOGGER.warning("JENKINS-49573: attempt to (de-)serialize anonymous " + c + " in " + location);
LOGGER.warning("JENKINS-49795: attempt to (de-)serialize anonymous " + c + " in " + location);
} else if (c.isLocalClass()) { // e.g., pkg.Outer$1Local
LOGGER.warning("JENKINS-49573: attempt to (de-)serialize local " + c + " in " + location);
LOGGER.warning("JENKINS-49795: attempt to (de-)serialize local " + c + " in " + location);
} else if (c.isSynthetic()) { // e.g., pkg.Outer$$Lambda$1/12345678
LOGGER.warning("JENKINS-49573: attempt to (de-)serialize synthetic " + c + " in " + location);
LOGGER.warning("JENKINS-49795: attempt to (de-)serialize synthetic " + c + " in " + location);
}
if (isLocationWhitelisted(location)) {
LOGGER.log(Level.FINE, "permitting {0} due to its location in {1}", new Object[] {name, location});
Expand Down

0 comments on commit 93b9510

Please sign in to comment.