# 01-runtime-behaviour: classes compiled once with JDK 17 (--release 17), run unchanged on 17 and 25; LC_ALL=C --- SecurityManagerProbe [17.0.20.1] WARNING: A terminally deprecated method in java.lang.System has been called [17.0.20.1] WARNING: System::setSecurityManager has been called by SecurityManagerProbe (file:/tmp/migration-17-25-work/c17/) [17.0.20.1] WARNING: Please consider reporting this to the maintainers of SecurityManagerProbe [17.0.20.1] WARNING: System::setSecurityManager will be removed in a future release [17.0.20.1] installed: true [25.0.4.1] failed: java.lang.UnsupportedOperationException: Setting a Security Manager is not supported --- ThreadStopProbe [17.0.20.1] stop() accepted; thread alive afterwards: false [25.0.4.1] stop() failed: java.lang.UnsupportedOperationException --- CharsetProbe [17.0.20.1] Charset.defaultCharset() = US-ASCII [17.0.20.1] bytes written for the 4-letter word with an accent = 4 (UTF-8 would be 5) [25.0.4.1] Charset.defaultCharset() = UTF-8 [25.0.4.1] bytes written for the 4-letter word with an accent = 5 (UTF-8 would be 5) --- FinalizerProbe [17.0.20.1] finalize() ran: true [25.0.4.1] finalize() ran: true --- UnsafeProbe [17.0.20.1] read back: 42 [25.0.4.1] WARNING: A terminally deprecated method in sun.misc.Unsafe has been called [25.0.4.1] WARNING: sun.misc.Unsafe::allocateMemory has been called by UnsafeProbe (file:/tmp/migration-17-25-work/c17/) [25.0.4.1] WARNING: Please consider reporting this to the maintainers of class UnsafeProbe [25.0.4.1] WARNING: sun.misc.Unsafe::allocateMemory will be removed in a future release [25.0.4.1] read back: 42 --- SecurityManagerProbe with -Djava.security.manager=allow [17.0.20.1] WARNING: A terminally deprecated method in java.lang.System has been called [17.0.20.1] WARNING: System::setSecurityManager has been called by SecurityManagerProbe (file:/tmp/migration-17-25-work/c17/) [17.0.20.1] WARNING: Please consider reporting this to the maintainers of SecurityManagerProbe [25.0.4.1] Error occurred during initialization of VM [25.0.4.1] java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported. [25.0.4.1] at java.lang.System.initPhase3(java.base@25.0.4.1/System.java:1970)