Path: blob/master/test/functional/cmdLineTests/bootstrapMethodArgumentTest/bsmargstest.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2019, 2019 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<suite id="BootstrapMethod Arguments Tests" timeout="3000">2728<variable name="CP" value="-cp $TESTSJARPATH$" />29<variable name="INVALID_CP_ENTRY_UTF8" value="org.openj9.test.bsmargs.RejectInvalidCPEntryUtf8" />30<variable name="INVALID_CP_ENTRY_FIELDREF" value="org.openj9.test.bsmargs.RejectInvalidCPEntryFieldref" />31<variable name="INVALID_CP_ENTRY_METHODREF" value="org.openj9.test.bsmargs.RejectInvalidCPEntryMethodref" />32<variable name="INVALID_CP_ENTRY_NAMEANDTYPE" value="org.openj9.test.bsmargs.RejectInvalidCPEntryNameAndType" />33<variable name="INVALID_CP_ENTRY_INVOKEDYNAMIC" value="org.openj9.test.bsmargs.RejectInvalidCPEntryInvokeDynamic" />34<variable name="INVALID_CP_ENTRY_INTERFACEMETHODREF" value="org.openj9.test.bsmargs.RejectInvalidCPEntryInterfaceMethodref" />3536<test id="Test an invalid constant pool entry (UTF8) is captured during verification">37<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_UTF8$</command>38<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>39<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>40<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryUtf8</output>41<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>42<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>43<output type="failure" caseSensitive="yes" regex="no">Exception:</output>44<output type="failure" caseSensitive="no" regex="no">corrupt</output>45<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>46</test>4748<test id="Test an invalid constant pool entry (Fieldref) is captured during verification">49<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_FIELDREF$</command>50<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>51<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>52<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryFieldref</output>53<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>54<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>55<output type="failure" caseSensitive="yes" regex="no">Exception:</output>56<output type="failure" caseSensitive="no" regex="no">corrupt</output>57<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>58</test>5960<test id="Test an invalid constant pool entry (Methodref) is captured during verification">61<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_METHODREF$</command>62<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>63<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>64<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryMethodref</output>65<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>66<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>67<output type="failure" caseSensitive="yes" regex="no">Exception:</output>68<output type="failure" caseSensitive="no" regex="no">corrupt</output>69<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>70</test>7172<test id="Test an invalid constant pool entry (NameAndType) is captured during verification">73<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_NAMEANDTYPE$</command>74<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>75<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>76<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryNameAndType</output>77<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>78<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>79<output type="failure" caseSensitive="yes" regex="no">Exception:</output>80<output type="failure" caseSensitive="no" regex="no">corrupt</output>81<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>82</test>8384<test id="Test an invalid constant pool entry (InvokeDynamic) is captured during verification">85<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_INVOKEDYNAMIC$</command>86<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>87<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>88<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryInvokeDynamic</output>89<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>90<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>91<output type="failure" caseSensitive="yes" regex="no">Exception:</output>92<output type="failure" caseSensitive="no" regex="no">corrupt</output>93<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>94</test>9596<test id="Test an invalid constant pool entry (InterfaceMethodref) is captured during verification">97<command>$JAVA_EXE$ $CP$ $INVALID_CP_ENTRY_INTERFACEMETHODREF$</command>98<output type="success" caseSensitive="yes" regex="no">java.lang.ClassFormatError</output>99<output type="required" caseSensitive="yes" regex="no">arguments contain invalid constantpool entry at index</output>100<output type="required" caseSensitive="yes" regex="no">class=org/openj9/test/bsmargs/RejectInvalidCPEntryInterfaceMethodref</output>101<output type="failure" caseSensitive="no" regex="no">unexpected EOF</output>102<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>103<output type="failure" caseSensitive="yes" regex="no">Exception:</output>104<output type="failure" caseSensitive="no" regex="no">corrupt</output>105<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>106</test>107</suite>108109110