aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/py/javatoolkit/cvv.py')
-rw-r--r--src/py/javatoolkit/cvv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/py/javatoolkit/cvv.py b/src/py/javatoolkit/cvv.py
index 6ae2501..1f15415 100644
--- a/src/py/javatoolkit/cvv.py
+++ b/src/py/javatoolkit/cvv.py
@@ -13,9 +13,12 @@ class CVVMagic:
self.target = target
self.good = []
self.bad = []
+ self.skipped = []
def add(self, version, jar, file):
- if version <= self.target:
+ if file == "module-info.class" and self.target < 9:
+ self.skipped.append(("1.%s" % (version), jar, file))
+ elif version <= self.target:
self.good.append(("1.%s" % (version), jar, file))
else:
self.bad.append(("1.%s" % (version), jar, file))