mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8320618: NPE: Cannot invoke "java.lang.constant.ClassDesc.isArray()" because "this.sym" is null
Reviewed-by: alanb
This commit is contained in:
parent
f6e5559ae9
commit
28d3762bd3
2 changed files with 14 additions and 3 deletions
|
@ -1394,7 +1394,7 @@ public final class StackMapGenerator {
|
|||
}
|
||||
|
||||
Type getComponent() {
|
||||
if (sym.isArray()) {
|
||||
if (isArray()) {
|
||||
var comp = sym.componentType();
|
||||
if (comp.isPrimitive()) {
|
||||
return switch (comp.descriptorString().charAt(0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue