< prev index next >
test/hotspot/jtreg/runtime/CommandLine/ObsoleteFlagErrorMessage.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2014, 2017, 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.
--- 1,7 ----
/*
! * Copyright (c) 2014, 2018, 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.
*** 48,54 ****
--- 48,59 ----
"-XX:+ConvertSleepToYield", "-version");
OutputAnalyzer output2 = new OutputAnalyzer(pb2.start());
output2.shouldContain("Ignoring option").shouldContain("support was removed");
output2.shouldContain("ConvertSleepToYield");
+
+ pb2 = ProcessTools.createJavaProcessBuilder("-XX:+MustCallLoadClassInternal", "-version");
+ output2 = new OutputAnalyzer(pb2.start());
+ output2.shouldContain("Ignoring option").shouldContain("support was removed");
+ output2.shouldContain("MustCallLoadClassInternal");
}
}
< prev index next >