< prev index next >
test/hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java
Print this page
rev 59076 : [mq]: 8243945
rev 59077 : [mq]: 8244142
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -41,7 +41,8 @@
"-XX:+UseCompressedClassPointers",
"-XX:CompressedClassSpaceSize=1g",
"--version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("MaxMetaspaceSize is too small.");
+ output.shouldNotHaveExitValue(0);
}
}
< prev index next >