Commit 118a3756 authored by Eric Bruneton's avatar Eric Bruneton

Merge branch '315399-non-regression-test'

parents ab3d47ad 942bea94
Pipeline #798 passed with stage
in 6 minutes and 1 second
......@@ -273,4 +273,13 @@ class AllInstructions {
}
return u0;
}
public Object readNullArray() {
Object[] array = null;
try {
return array[0];
} catch (NullPointerException e) {
return null;
}
}
}
......@@ -276,4 +276,13 @@ class AllInstructions {
}
return u0;
}
public Object readNullArray() {
Object[] array = null;
try {
return array[0];
} catch (NullPointerException e) {
return null;
}
}
}
......@@ -1686,4 +1686,29 @@ class jdk3/AllInstructions {
LOCALVARIABLE t Ljava/lang/Throwable; L2 L6 3
MAXSTACK = 2
MAXLOCALS = 7
// access flags 0x1
public readNullArray()Ljava/lang/Object;
TRYCATCHBLOCK L0 L1 L1 java/lang/NullPointerException
L2
LINENUMBER 278 L2
ACONST_NULL
ASTORE 1
L0
LINENUMBER 280 L0
ALOAD 1
ICONST_0
AALOAD
ARETURN
L1
LINENUMBER 282 L1
ASTORE 2
ACONST_NULL
ARETURN
L3
LOCALVARIABLE this Ljdk3/AllInstructions; L2 L3 0
LOCALVARIABLE array [Ljava/lang/Object; L0 L3 1
LOCALVARIABLE e Ljava/lang/NullPointerException; L1 L3 2
MAXSTACK = 2
MAXLOCALS = 3
}
......@@ -1664,4 +1664,32 @@ class jdk5/AllInstructions {
LOCALVARIABLE u0 I L0 L10 2
MAXSTACK = 2
MAXLOCALS = 6
// access flags 0x1
public readNullArray()Ljava/lang/Object;
TRYCATCHBLOCK L0 L1 L2 java/lang/NullPointerException
L3
LINENUMBER 281 L3
ACONST_NULL
ASTORE 1
L0
LINENUMBER 283 L0
ALOAD 1
ICONST_0
AALOAD
L1
ARETURN
L2
LINENUMBER 284 L2
ASTORE 2
L4
LINENUMBER 285 L4
ACONST_NULL
ARETURN
L5
LOCALVARIABLE e Ljava/lang/NullPointerException; L4 L5 2
LOCALVARIABLE this Ljdk5/AllInstructions; L3 L5 0
LOCALVARIABLE array [Ljava/lang/Object; L0 L5 1
MAXSTACK = 2
MAXLOCALS = 3
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment