Bug 65369 - Windows Service not open modules for Java 16
Summary: Windows Service not open modules for Java 16
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 9.0.45
Hardware: PC All
: P2 normal (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-10 06:32 UTC by msuhr
Modified: 2021-06-16 14:04 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msuhr 2021-06-10 06:32:37 UTC
catalina script was changed and has new lines: 

>set "JDK_JAVA_OPTIONS=%JDK_JAVA_OPTIONS% --add-opens=java.base/java.util=ALL-UNNAMED"
>set "JDK_JAVA_OPTIONS=%JDK_JAVA_OPTIONS% --add-opens=java.base/java.util.concurrent=ALL-UNNAMED"

These are missing in service.bat ( --JvmOptions9 )

Pull Request: https://github.com/apache/tomcat/pull/422
Comment 1 Mark Thomas 2021-06-16 14:04:34 UTC
Fixed in:
- 10.1.x for 10.1.0-M2 onwards
- 10.0.x for 10.0.8 onwards
- 9.0.x for 9.0.49 onwards
- 8.5.x for 8.5.69 onwards