diff --git a/make/launcher/Launcher-jdk.compiler.gmk b/make/launcher/Launcher-jdk.compiler.gmk index bf41ea83391..f71c37adf74 100644 --- a/make/launcher/Launcher-jdk.compiler.gmk +++ b/make/launcher/Launcher-jdk.compiler.gmk @@ -1,5 +1,5 @@ # -# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 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 @@ -31,11 +31,6 @@ $(eval $(call SetupBuildLauncher, javac, \ CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \ )) -$(eval $(call SetupBuildLauncher, javah, \ - MAIN_CLASS := com.sun.tools.javah.Main, \ - CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \ -)) - $(eval $(call SetupBuildLauncher, serialver, \ MAIN_CLASS := sun.tools.serialver.SerialVer, \ CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \ diff --git a/test/jdk/tools/launcher/ToolsOpts.java b/test/jdk/tools/launcher/ToolsOpts.java index 1bc50608db2..1a9ee7a9388 100644 --- a/test/jdk/tools/launcher/ToolsOpts.java +++ b/test/jdk/tools/launcher/ToolsOpts.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 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 @@ -24,7 +24,7 @@ /* * @test * @bug 8002091 - * @summary Test options patterns for javac,javah,javap and javadoc using + * @summary Test options patterns for javac,javap and javadoc using * javac as a test launcher. Create a dummy javac and intercept options to check * reception of options as passed through the launcher without having to launch * javac. Only -J and -cp ./* options should be consumed by the launcher.