Commit 22a568f
committed
class-version.sh: make detection more robust
If a class lives in META-INF/versions/ we can ignore it because it's
specially targeting a different version of Java than other classes. If
a module-info.class is present, we can ignore it because it must target
Java 9 or newer even if the other classes target an earlier version.1 parent 7db8ec0 commit 22a568f
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
0 commit comments