提交 1db6cb76 编写于 作者: H hseigel

Merge

/* /*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -338,9 +338,12 @@ class VerifyErrorCases { ...@@ -338,9 +338,12 @@ class VerifyErrorCases {
"invalid constant pool index in ldc", "invalid constant pool index in ldc",
"Invalid index in ldc"), "Invalid index in ldc"),
new Case("case58", "verifier.cpp", true, "verify_switch", /* No longer a valid test case for bytecode version >= 51. Nonzero
* padding bytes are permitted with lookupswitch and tableswitch
* bytecodes as of JVMS 3d edition */
new Case("case58", "verifier.cpp", false, "verify_switch",
"bad switch padding", "bad switch padding",
"Nonzero padding byte in lookswitch or tableswitch"), "Nonzero padding byte in lookupswitch or tableswitch"),
new Case("case59", "verifier.cpp", true, "verify_switch", new Case("case59", "verifier.cpp", true, "verify_switch",
"tableswitch low is greater than high", "tableswitch low is greater than high",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册