[diffoscope] 01/01: Update Java tests for openjdk-9. (Closes: #893183)

Chris Lamb chris at chris-lamb.co.uk
Sun Mar 18 01:51:50 CET 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 41da8b11090d31f209d9737249110efa9f227f42
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Mar 17 20:51:15 2018 -0400

    Update Java tests for openjdk-9. (Closes: #893183)
---
 tests/comparators/test_java.py       | 2 +-
 tests/data/javap_class_expected_diff | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/comparators/test_java.py b/tests/comparators/test_java.py
index a001417..fc303a7 100644
--- a/tests/comparators/test_java.py
+++ b/tests/comparators/test_java.py
@@ -79,7 +79,7 @@ def test_diff_procyon(differences_procyon):
     diff(differences_procyon, 'procyon_class_expected_diff')
 
 
- at skip_unless_tool_is_at_least('javap', javap_version, '1.8')
+ at skip_unless_tool_is_at_least('javap', javap_version, '9.0.4')
 def test_diff_javap(differences_javap):
     diff(differences_javap, 'javap_class_expected_diff')
 
diff --git a/tests/data/javap_class_expected_diff b/tests/data/javap_class_expected_diff
index 7b32d8f..47d50d4 100644
--- a/tests/data/javap_class_expected_diff
+++ b/tests/data/javap_class_expected_diff
@@ -1,9 +1,9 @@
-@@ -31,13 +31,13 @@
+@@ -34,13 +34,13 @@
          line 1: 0
  
    public static int main(java.lang.String[]);
      descriptor: ([Ljava/lang/String;)I
-     flags: ACC_PUBLIC, ACC_STATIC
+     flags: (0x0009) ACC_PUBLIC, ACC_STATIC
      Code:
        stack=1, locals=1, args_size=1
 -         0: bipush        42

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list