We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3dc7b8e + 348be14 commit 148f0ddCopy full SHA for 148f0dd
1 file changed
java8-shim/src/main/java/org/owasp/shim/Java8Shim.java
@@ -19,7 +19,7 @@ public abstract class Java8Shim {
19
try {
20
// This is compiled with -release 1.9 in a separate project.
21
_instance = Class.forName("org.owasp.shim.ForJava9AndLater").newInstance();
22
- } catch (Error e) {
+ } catch (Throwable e) {
23
// This is co-located with this project and is a fall-back.
24
_instance = Class.forName("org.owasp.shim.ForJava8").newInstance();
25
}
0 commit comments