8146299: Disable rmic -Xnew

Reviewed-by: chegar, smarks, rriggs, mchung
This commit is contained in:
Mark Sheppard 2017-02-16 11:26:14 +00:00
parent 256cc336cd
commit a141b69c1b
3 changed files with 10 additions and 8 deletions

View File

@ -145,12 +145,14 @@ public class Main implements sun.rmi.rmic.Constants {
* in parseArgs, so that none of the arguments will be nulled
* before delegating to the new implementation.
*/
for (int i = 0; i < argv.length; i++) {
if (argv[i].equals("-Xnew")) {
return (new sun.rmi.rmic.newrmic.Main(out,
program)).compile(argv);
}
}
// disable the -Xnew option as per JDK-8146299 and JDK-8145980
// to allow further discussion how to progress with this feature
//for (int i = 0; i < argv.length; i++) {
// if (argv[i].equals("-Xnew")) {
// return (new sun.rmi.rmic.newrmic.Main(out,
// program)).compile(argv);
// }
//}
if (!parseArgs(argv)) {
return false;

View File

@ -199,8 +199,6 @@ java/rmi/activation/Activatable/extLoadedImpl/ext.sh 8062724 generic-
java/rmi/activation/ActivationGroup/downloadActivationGroup/DownloadActivationGroup.java 8169569 windows-all
sun/rmi/rmic/newrmic/equivalence/run.sh 8145980 generic-all
java/rmi/registry/readTest/CodebaseTest.java 8173324 windows-all
############################################################################

View File

@ -22,6 +22,8 @@
#
# @test
# @ignore test is disabled, while further discussion on the rmic -Xnew feature
# takes place (c.f JDK-8146299, JDK-8145980).
# @bug 4911536
# @summary This test verifies that the new implementation of rmic
# generates equivalent classes as the old implementation, for a set