File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java10-shim/src/main/java/org/owasp/shim
java8-shim/src/main/java/org/owasp/shim Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
import java .util .*;
4
4
5
5
@ SuppressWarnings ("Since15" ) // We're compiling two versions to handle @since problems.
6
- final class ForJava9AndLater extends Java8Shim {
6
+ final class ForJava10AndLater extends Java8Shim {
7
7
8
8
@ Override public <T > List <T > listOf () {
9
9
return List .of ();
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ public abstract class Java8Shim {
17
17
Object _instance ;
18
18
try {
19
19
try {
20
- // This is compiled with -release 1.9 in a separate project.
21
- _instance = Class .forName ("org.owasp.shim.ForJava9AndLater " ).newInstance ();
20
+ // This is compiled with -release 1.10 in a separate project.
21
+ _instance = Class .forName ("org.owasp.shim.ForJava10AndLater " ).newInstance ();
22
22
} catch (Error e ) {
23
23
// This is co-located with this project and is a fall-back.
24
24
_instance = Class .forName ("org.owasp.shim.ForJava8" ).newInstance ();
You can’t perform that action at this time.
0 commit comments