Skip to content

Commit

Permalink
war/work/plugins/*.jpl broke mvn -f war hudson-dev:run.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jan 9, 2018
1 parent e50ce3c commit 475ef3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/jenkins/security/ClassFilterImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private boolean isLocationWhitelisted(String _loc) {
LOGGER.log(Level.WARNING, "problem checking " + loc, x);
}
}
if (Main.isUnitTest) {
if (Main.isUnitTest || Main.isDevelopmentMode) {
if (loc.endsWith("/target/classes/")) {
LOGGER.log(Level.FINE, "{0} seems to be current plugin classes, OK", loc);
return true;
Expand Down

0 comments on commit 475ef3a

Please sign in to comment.