Integrated: 8233269: Improve handling of JAVA_ARGS

Adam Sotona asotona at openjdk.java.net
Thu Jun 2 06:24:32 UTC 2022


On Wed, 1 Jun 2022 13:52:46 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> LauncherCommon.gmk is unfortunately defining JAVA_ARGS with `-J-ms8m` option for all JDK launchers, including java launcher.
> JAVA_ARGS  should not be defined for java launcher (in contrast to the other JDK launchers), and the command line option `-J-ms8m` is obsolete for java launcher.
> 
> Proposed patch removes JAVA_ARGS from java launcher, while keeping status quo for all other JDK launchers.
> The patch of LauncherCommon.gmk identifies java launcher by undefined MAIN_CLASS.
> 
> Thanks for review,
> Adam

This pull request has now been integrated.

Changeset: a82417fa
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a82417fa190a132313f6734a75f1998858c164fd
Stats:     8 lines in 1 file changed: 4 ins; 1 del; 3 mod

8233269: Improve handling of JAVA_ARGS

Reviewed-by: erikj

-------------

PR: https://git.openjdk.java.net/jdk/pull/8972


More information about the core-libs-dev mailing list