8155816: langtools/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java test broken
authorjlahoda
Mon, 02 May 2016 12:57:05 +0200
changeset 37755 b0918e7eb16b
parent 37754 7b4f67ce5cb5
child 37756 87dff934a38a
8155816: langtools/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java test broken Summary: Correcting expected line numbers Reviewed-by: alundblad
langtools/test/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java
--- a/langtools/test/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java	Mon May 02 06:43:44 2016 +0200
+++ b/langtools/test/tools/javac/classfiles/attributes/LineNumberTable/T8050993.java	Mon May 02 12:57:05 2016 +0200
@@ -19,7 +19,7 @@
 public class T8050993 {
     public static void main(String[] args) throws IOException, ConstantPoolException {
         ClassFile someTestIn = ClassFile.read(T8050993.class.getResourceAsStream("T8050993.class"));
-        Set<Integer> expectedLineNumbers = new HashSet<>(Arrays.asList(48, 49, 46, 47));
+        Set<Integer> expectedLineNumbers = new HashSet<>(Arrays.asList(49, 50, 47, 48));
         for (Method m : someTestIn.methods) {
             if ("method".equals(m.getName(someTestIn.constant_pool))) {
                 Code_attribute code_attribute = (Code_attribute) m.attributes.get(Attribute.Code);