https://bz.apache.org/bugzilla/show_bug.cgi?id=69559

            Bug ID: 69559
           Summary: WARNING: sun.misc.Unsafe::invokeCleaner has been
                    called by org.apache.tomcat.util.buf.ByteBufferUtils
           Product: Tomcat 10
           Version: 10.1.34
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: asf-bugzi...@transentia.com.au
  Target Milestone: ------

Windows 11
openjdk-24-ea+34_windows-x64_bin
Spring boot: 3.4.2
Apache Tomcat/10.1.34

Gets WARNING at startup:

===
C:\LocalData\DEV\Java\jdk-24\bin\java.exe --enable-preview
--enable-native-access=ALL-UNNAMED -XX:TieredStopAtLevel=1 ...

19:42:21.172  INFO - tools.ToolsApplication                   : Starting
ToolsApplication using Java 24-ea with PID 19000 (...)
...
19:42:22.188  INFO - o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat
initialized with port 8080 (https)
19:42:22.198  INFO - o.apache.catalina.core.StandardService   : Starting
service [Tomcat]
19:42:22.198  INFO - o.apache.catalina.core.StandardEngine    : Starting
Servlet engine: [Apache Tomcat/10.1.34]
...
19:42:23.171  INFO - o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started
on port 8080 (https) with context path '/'
19:42:23.177  INFO - tools.ToolsApplication                   : Started
ToolsApplication in 2.428 seconds (process running for 2.821)
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::invokeCleaner has been called by
org.apache.tomcat.util.buf.ByteBufferUtils
(file:/E:/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.1.34/f610f84be607fbc82e393cc220f0ad45f92afc91/tomcat-embed-core-10.1.34.jar)
WARNING: Please consider reporting this to the maintainers of class
org.apache.tomcat.util.buf.ByteBufferUtils
WARNING: sun.misc.Unsafe::invokeCleaner will be removed in a future release
===

Havent' seen this reported anywhere else (searching here did not find
anything).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to