Skip to content
Permalink
Browse files
8184249: SA: clhsdb 'intConstant' throws a NullPointerException when …
…not attached to a VM

Reviewed-by: amenkov
  • Loading branch information
plummercj committed Apr 10, 2020
1 parent 3cf922b commit 3a0a3d21d0d6be98dc90f6a4aca21521c28dd1c5
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1205,7 +1205,7 @@ public void doit(Tokens t) {
}
}
},
new Command("intConstant", "intConstant [ name [ value ] ]", true) {
new Command("intConstant", "intConstant [ name [ value ] ]", false) {
public void doit(Tokens t) {
if (t.countTokens() != 1 && t.countTokens() != 0 && t.countTokens() != 2) {
usage();
@@ -1228,7 +1228,7 @@ public void doit(Tokens t) {
}
}
},
new Command("longConstant", "longConstant [ name [ value ] ]", true) {
new Command("longConstant", "longConstant [ name [ value ] ]", false) {
public void doit(Tokens t) {
if (t.countTokens() != 1 && t.countTokens() != 0 && t.countTokens() != 2) {
usage();
@@ -1251,7 +1251,7 @@ public void doit(Tokens t) {
}
}
},
new Command("field", "field [ type [ name fieldtype isStatic offset address ] ]", true) {
new Command("field", "field [ type [ name fieldtype isStatic offset address ] ]", false) {
public void doit(Tokens t) {
if (t.countTokens() != 1 && t.countTokens() != 0 && t.countTokens() != 6) {
usage();
@@ -1323,7 +1323,7 @@ public void doit(Tokens t) {
}
}
},
new Command("type", "type [ type [ name super isOop isInteger isUnsigned size ] ]", true) {
new Command("type", "type [ type [ name super isOop isInteger isUnsigned size ] ]", false) {
public void doit(Tokens t) {
if (t.countTokens() != 1 && t.countTokens() != 0 && t.countTokens() != 6) {
usage();

0 comments on commit 3a0a3d2

Please sign in to comment.