test/tools/javac/lambda/TestInvokeDynamic.java

changeset 2186
6e0f31d61e56
parent 1774
37295244f534
child 2525
2eb010b6cb22
equal deleted inserted replaced
2185:21294feaf311 2186:6e0f31d61e56
354 (LineNumberTable_attribute)ea.attributes.get(Attribute.LineNumberTable); 354 (LineNumberTable_attribute)ea.attributes.get(Attribute.LineNumberTable);
355 355
356 if (lnt == null) { 356 if (lnt == null) {
357 throw new Error("No LineNumberTable attribute"); 357 throw new Error("No LineNumberTable attribute");
358 } 358 }
359 if (lnt.line_number_table_length != 2) { 359 if (lnt.line_number_table_length != 3) {
360 throw new Error("Wrong number of entries in LineNumberTable"); 360 throw new Error("Wrong number of entries in LineNumberTable");
361 } 361 }
362 } catch (Exception e) { 362 } catch (Exception e) {
363 e.printStackTrace(); 363 e.printStackTrace();
364 throw new Error("error reading " + compiledTest +": " + e); 364 throw new Error("error reading " + compiledTest +": " + e);

mercurial