View | Details | Raw Unified | Return to bug 71910 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse Java Tests Compiler/org/eclipse/jdt/tests/compiler/regression/ConformTest.java (-33 / +32 lines)
Lines 6099-6137 Link Here
6099
		customOptions);
6099
		customOptions);
6100
	
6100
	
6101
	String expectedOutput =
6101
	String expectedOutput =
6102
			"  // Method descriptor  #18 (I)V\n" + 
6102
		"  // Method descriptor  #18 (I)V\n" + 
6103
			"  // Stack: 2, Locals: 3\n" + 
6103
		"  // Stack: 2, Locals: 3\n" + 
6104
			"  void foo(int n);\n" + 
6104
		"  void foo(int n);\n" + 
6105
			"     0  aload_0\n" + 
6105
		"     0  aload_0\n" + 
6106
			"     1  dup\n" + 
6106
		"     1  dup\n" + 
6107
			"     2  astore_2\n" + 
6107
		"     2  astore_2\n" + 
6108
			"     3  monitorenter\n" + 
6108
		"     3  monitorenter\n" + 
6109
			"     4  iload_1\n" + 
6109
		"     4  iload_1\n" + 
6110
			"     5  tableswitch default: 32\n" + 
6110
		"     5  tableswitch default: 32\n" + 
6111
			"          case 1: 24\n" + 
6111
		"          case 1: 24\n" + 
6112
			"    24  new #42 java/lang/NullPointerException\n" + 
6112
		"    24  new #42 java/lang/NullPointerException\n" + 
6113
			"    27  dup\n" + 
6113
		"    27  dup\n" + 
6114
			"    28  invokespecial #43 <Method java/lang/NullPointerException.<init>()V>\n" + 
6114
		"    28  invokespecial #43 <Method java/lang/NullPointerException.<init>()V>\n" + 
6115
			"    31  athrow\n" + 
6115
		"    31  athrow\n" + 
6116
			"    32  aload_2\n" + 
6116
		"    32  aload_2\n" + 
6117
			"    33  monitorexit\n" + 
6117
		"    33  monitorexit\n" + 
6118
			"    34  goto 40\n" + 
6118
		"    34  goto 40\n" + 
6119
			"    37  aload_2\n" + 
6119
		"    37  aload_2\n" + 
6120
			"    38  monitorexit\n" + 
6120
		"    38  monitorexit\n" + 
6121
			"    39  athrow\n" + 
6121
		"    39  athrow\n" + 
6122
			"    40  return\n" + 
6122
		"    40  return\n" + 
6123
			"      Exception Table:\n" + 
6123
		"      Exception Table:\n" + 
6124
			"        [pc: 4, pc: 34] -> 37 when : any\n" + 
6124
		"        [pc: 4, pc: 37] -> 37 when : any\n" + 
6125
			"        [pc: 37, pc: 39] -> 37 when : any\n" + 
6125
		"      Line numbers:\n" + 
6126
			"      Line numbers:\n" + 
6126
		"        [pc: 0, line: 12]\n" + 
6127
			"        [pc: 0, line: 12]\n" + 
6127
		"        [pc: 4, line: 13]\n" + 
6128
			"        [pc: 4, line: 13]\n" + 
6128
		"        [pc: 24, line: 15]\n" + 
6129
			"        [pc: 24, line: 15]\n" + 
6129
		"        [pc: 32, line: 12]\n" + 
6130
			"        [pc: 32, line: 12]\n" + 
6130
		"        [pc: 40, line: 18]\n" + 
6131
			"        [pc: 40, line: 18]\n" + 
6131
		"      Local variable table:\n" + 
6132
			"      Local variable table:\n" + 
6132
		"        [pc: 0, pc: 41] local: this index: 0 type: LX;\n" + 
6133
			"        [pc: 0, pc: 41] local: this index: 0 type: LX;\n" + 
6133
		"        [pc: 0, pc: 41] local: n index: 1 type: I\n";
6134
			"        [pc: 0, pc: 41] local: n index: 1 type: I\n";
6135
	
6134
	
6136
	try {
6135
	try {
6137
		File f = new File(OUTPUT_DIR + File.separator + "X.class");
6136
		File f = new File(OUTPUT_DIR + File.separator + "X.class");

Return to bug 71910