[
https://issues.apache.org/jira/browse/GEODE-10225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520752#comment-17520752
]
ASF subversion and git services commented on GEODE-10225:
---------------------------------------------------------
Commit 16020446dfa81e91bc9263391a84563fc1d3a9f0 in geode's branch
refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=16020446df ]
GEODE-10225: Gfsh start commands add exports on JDK 11+ (#7572)
PROBLEM
When run on JDK 17, numerous acceptance tests fail because a launched
locator or server requires access to the following packages:
- java.base/sun.nio.ch
- java.management/com.sun.jmx.remote.security
SOLUTION
- Add a `MemberJvmOptions` class that reports the JDK-dependent options
required to launch a locator or server on the current process's JDK.
- Change `StartLocatorCommand` and `StartServerCommand` to add those
options to the command line when launching locators and servers.
FUTURE
Future PRs will likely put these opens/exports in an argument file, then
configure these commands to use the argument file. We are deferring that
until we identify additional needs for the argument file, so we can
choose an appropriate location for the argument file.
Co-authored-by: Dale Emery <[email protected]>
Co-authored-by: Kirk Lund <[email protected]>
Co-authored-by: Kirk Lund <[email protected]>
> Make gfsh start commands compatible with JDK 17
> -----------------------------------------------
>
> Key: GEODE-10225
> URL: https://issues.apache.org/jira/browse/GEODE-10225
> Project: Geode
> Issue Type: Improvement
> Components: gfsh
> Affects Versions: 1.15.0
> Reporter: Dale Emery
> Assignee: Dale Emery
> Priority: Major
> Labels: Java17, pull-request-available
>
> When run on JDK 17, numerous acceptance tests fail because a launched locator
> or server requires access to the following packages:
> - java.base/sun.nio.ch
> - java.management/com.sun.jmx.remote.security
> When starting locators and servers, gfsh's {{StartLocatorCommand}} and
> {{StartServerCommand}} should export these packages to all unnamed modules.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)