Skip to content
Permalink
Browse files
[JENKINS-33999] Do no blacklist springs NestedRuntimeException
NestedRuntimeException needs to be propagated across remoting for things
like remote authentication schemes.
  • Loading branch information
jtnord committed Apr 4, 2016
1 parent 7cb4138 commit d72ffb337a75913291807b3a06b9f7f02e5eac58
@@ -60,7 +60,7 @@ public final Class check(Class c) {
".*org[.]apache[.]xalan.*",
"^org[.]codehaus[.]groovy[.]runtime[.].*",
"^org[.]hibernate[.].*",
"^org[.]springframework[.].*",
"^org[.]springframework[.](?!core[.]NestedRuntimeException$).*",
"^sun[.]rmi[.].*",
};

@@ -48,10 +48,11 @@
/** Some classes that should be matched by the default class filter */
private static final List<String> defaultBadClasses = Arrays.asList("org.codehaus.groovy.runtime.Bob",
"org.apache.commons.collections.functors.Wibble", "org.apache.xalan.Bogus",
"com.sun.org.apache.xalan.bogus");
"com.sun.org.apache.xalan.bogus", "org.springframework.core.SomeClass",
"org.springframework.SomeClass");
/** Some classes that should not be matched by the default class filter */
private static final List<String> defaultOKClasses = Arrays.asList("java.lang.String", "java.lang.Object",
"java.util.ArrayList");
"java.util.ArrayList", "org.springframework.core.NestedRuntimeException");

@Rule
public TemporaryFolder folder = new TemporaryFolder();

0 comments on commit d72ffb3

Please sign in to comment.