We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f729a08 commit 348be14Copy full SHA for 348be14
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