Bug 65369

Summary: Windows Service not open modules for Java 16
Product: Tomcat 9 Reporter: msuhr
Component: PackagingAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 9.0.45   
Target Milestone: -----   
Hardware: PC   
OS: All   

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