Commit 328d578
committed
Do not try to translate classes in META-INF/versions
In a multirelease-jar environment, there could be classes under
META-INF/versions, which retrolambda would try to translate.
As per definition, these are Java classes newer than Java 1.8, so they
shouldn't be processed at all, especially since it is expected that
there is at least some version (hopefully 1.8 or older) of that class in
the path that is not prefixed by META-INF/versions.
Extend FilteringFileVisitor to never visit /META-INF/versions, and
modify FilteringFileVisitor so it's usable in all cases, even when no
other filtering is required.1 parent fbd82c9 commit 328d578
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments