Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/cmdLineTests/cmdLineTest_J9tests/j9tests_Java8.xml
6004 views
1
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
3
<!--
4
Copyright (c) 2009, 2020 IBM Corp. and others
5
6
This program and the accompanying materials are made available under
7
the terms of the Eclipse Public License 2.0 which accompanies this
8
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
9
or the Apache License, Version 2.0 which accompanies this distribution and
10
is available at https://www.apache.org/licenses/LICENSE-2.0.
11
12
This Source Code may also be made available under the following
13
Secondary Licenses when the conditions for such availability set
14
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
15
General Public License, version 2 with the GNU Classpath
16
Exception [1] and GNU General Public License, version 2 with the
17
OpenJDK Assembly Exception [2].
18
19
[1] https://www.gnu.org/software/classpath/license.html
20
[2] http://openjdk.java.net/legal/assembly-exception.html
21
22
SPDX-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-exception
23
-->
24
<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">
25
26
<suite id="J9 Command-Line Option Tests" timeout="180">
27
<variable name="CP" value="-cp $Q$$FIBJAR$$Q$" />
28
<variable name="TARGET" value="VMBench.FibBench" />
29
<variable name="FIBOUT" value=".*Fibonacci.*iterations.*" />
30
<variable name="VERSION" value="-version" />
31
32
<test id="X">
33
<command>$EXE$ $CP$ -X $TARGET$</command>
34
<!-- Java 7 and prior -->
35
<output type="success">.*following.options.are.non.standard.*</output>
36
<!-- Java 8 -->
37
<output type="success">.*The.-X.options.are.non-standard.and.subject.to.change.without.notice.*</output>
38
</test>
39
40
<test id="Xbootclasspath">
41
<command>$EXE$ $CP$ -Xbootclasspath:$Q$$FIBJAR$$Q$ $TARGET$</command>
42
<output>.*Unable.to.find.and.initialize.required.class.*</output>
43
</test>
44
45
<test id="Xbootclasspath/p">
46
<command>$EXE$ $CP$ -Xbootclasspath/p:$Q$$FIBJAR$$Q$ $TARGET$</command>
47
<output>$FIBOUT$</output>
48
</test>
49
50
<test id="Test StringBuffer/StringBuilder growth">
51
<command>$EXE$ -Xdump:none -Xmx7g -Djava.lang.stringBuffer.growAggressively -cp $Q$$JARPATH$$Q$ TestStringBufferAndBuilderGrowth</command>
52
<output regex="no" type="success">StringBuffer capacity=2147483647 StringBuilder capacity=2147483647</output>
53
<output regex="no" type="success">Option too large</output>
54
<output regex="no" type="success">Not enough resource to run test</output>
55
<output regex="no" type="success">Failed to instantiate heap</output>
56
</test>
57
58
</suite>
59
60