Add java8-to-25 module: legacy Java 8 app run on JDK 8, 17 and 25, tool coverage, JVM flags, libraries, OpenRewrite and the fixed version
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
This commit is contained in:
@@ -0,0 +1,334 @@
|
||||
################ -XX:MaxPermSize=256m
|
||||
JDK 8 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'MaxPermSize=256m'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'MaxPermSize=256m'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:PermSize=64m
|
||||
JDK 8 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=64m; support was removed in 8.0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'PermSize=64m'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'PermSize=64m'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseConcMarkSweepGC
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseConcMarkSweepGC'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseConcMarkSweepGC'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseParNewGC
|
||||
JDK 8 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseParNewGC'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseParNewGC'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+CMSParallelRemarkEnabled
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'CMSParallelRemarkEnabled'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'CMSParallelRemarkEnabled'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:CMSInitiatingOccupancyFraction=70
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'CMSInitiatingOccupancyFraction=70'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'CMSInitiatingOccupancyFraction=70'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseParallelOldGC
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseParallelOldGC'
|
||||
Did you mean '(+/-)UseParallelGC'? Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseParallelOldGC'
|
||||
Did you mean '(+/-)UseParallelGC'?
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Xincgc
|
||||
JDK 8 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
|
||||
JDK 17 exit=1
|
||||
Unrecognized option: -Xincgc
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized option: -Xincgc
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+PrintGCDetails
|
||||
JDK 8 exit=0
|
||||
Heap
|
||||
PSYoungGen total 28672K, used 983K [0x00000000e0000000, 0x00000000e2000000, 0x0000000100000000)
|
||||
eden space 24576K, 4% used [0x00000000e0000000,0x00000000e00f5da8,0x00000000e1800000)
|
||||
from space 4096K, 0% used [0x00000000e1c00000,0x00000000e1c00000,0x00000000e2000000)
|
||||
JDK 17 exit=0
|
||||
[0.0NNs][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.
|
||||
[0.0NNs][info ][gc] Using G1
|
||||
[0.0NNs][info ][gc,init] Version: 17.0.21.1+2 (release)
|
||||
[0.0NNs][info ][gc,init] CPUs: 2 total, 2 available
|
||||
JDK 25 exit=0
|
||||
[0.0NNs][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.
|
||||
[0.0NNs][info ][gc,init] CardTable entry size: 512
|
||||
[0.0NNs][info ][gc ] Using G1
|
||||
[0.0NNs][info ][gc,init] Version: 25.0.5.1+2-LTS (release)
|
||||
################ -XX:+PrintGCDateStamps
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'PrintGCDateStamps'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'PrintGCDateStamps'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+PrintGCTimeStamps
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'PrintGCTimeStamps'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'PrintGCTimeStamps'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+PrintTenuringDistribution
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'PrintTenuringDistribution'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'PrintTenuringDistribution'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+PrintGCApplicationStoppedTime
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'PrintGCApplicationStoppedTime'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'PrintGCApplicationStoppedTime'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Xloggc:gc.log
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
[0.0NNs][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:gc.log instead.
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
[0.0NNs][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:gc.log instead.
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -XX:+UseGCLogFileRotation
|
||||
JDK 8 exit=0
|
||||
To enable GC log rotation, use -Xloggc:<filename> -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=<num_of_files>
|
||||
where num_of_file > 0
|
||||
GC log rotation is turned off
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseGCLogFileRotation'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseGCLogFileRotation'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:NumberOfGCLogFiles=5
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'NumberOfGCLogFiles=5'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'NumberOfGCLogFiles=5'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+AggressiveOpts
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'AggressiveOpts'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'AggressiveOpts'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseBiasedLocking
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseBiasedLocking'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseFastAccessorMethods
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseFastAccessorMethods'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseFastAccessorMethods'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+AggressiveHeap
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -XX:+UseCGroupMemoryLimitForHeap
|
||||
JDK 8 exit=1
|
||||
Error: VM option 'UseCGroupMemoryLimitForHeap' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UseCGroupMemoryLimitForHeap'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -XX:+UseStringDeduplication
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -XX:+DisableExplicitGC
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -d64
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized option: -d64
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized option: -d64
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Xverify:none
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -Xfuture
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
Warning: -Xfuture option is deprecated and may be removed in a future release.
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode)
|
||||
JDK 25 exit=1
|
||||
Unrecognized option: -Xfuture
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ --illegal-access=permit
|
||||
JDK 8 exit=1
|
||||
Unrecognized option: --illegal-access=permit
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=0
|
||||
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.5.1+2 (build 25.0.5.1+2-LTS, mixed mode, sharing)
|
||||
################ -XX:+UnlockCommercialFeatures
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
Unrecognized VM option 'UnlockCommercialFeatures'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
Unrecognized VM option 'UnlockCommercialFeatures'
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Djava.security.manager
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=0
|
||||
WARNING: A command line option has enabled the Security Manager
|
||||
WARNING: The Security Manager is deprecated and will be removed in a future release
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=1
|
||||
Error occurred during initialization of VM
|
||||
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
|
||||
at java.lang.System.initPhase3([email protected]/System.java:1970)
|
||||
################ -Djava.security.manager=allow
|
||||
JDK 8 exit=1
|
||||
Error occurred during initialization of VM
|
||||
java.lang.InternalError: Could not create SecurityManager: allow
|
||||
at sun.misc.Launcher.<init>(Launcher.java:106)
|
||||
at sun.misc.Launcher.<clinit>(Launcher.java:54)
|
||||
JDK 17 exit=0
|
||||
OpenJDK 64-Bit Server VM Temurin-17.0.21.1+2 (build 17.0.21.1+2, mixed mode, sharing)
|
||||
JDK 25 exit=1
|
||||
Error occurred during initialization of VM
|
||||
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
|
||||
at java.lang.System.initPhase3([email protected]/System.java:1970)
|
||||
################ -Djava.endorsed.dirs=/tmp
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
-Djava.endorsed.dirs=/tmp is not supported. Endorsed standards and standalone APIs
|
||||
in modular form will be supported via the concept of upgradeable modules.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
-Djava.endorsed.dirs=/tmp is not supported. Endorsed standards and standalone APIs
|
||||
in modular form will be supported via the concept of upgradeable modules.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Djava.ext.dirs=/tmp
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
-Djava.ext.dirs=/tmp is not supported. Use -classpath instead.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
-Djava.ext.dirs=/tmp is not supported. Use -classpath instead.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
################ -Xbootclasspath/p:/tmp/none.jar
|
||||
JDK 8 exit=0
|
||||
JDK 17 exit=1
|
||||
-Xbootclasspath/p is no longer a supported option.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
JDK 25 exit=1
|
||||
-Xbootclasspath/p is no longer a supported option.
|
||||
Error: Could not create the Java Virtual Machine.
|
||||
Error: A fatal exception has occurred. Program will exit.
|
||||
Reference in New Issue
Block a user