Closure Compiler / JDK-25: WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
10 views
Skip to first unread message
Adrian Wenz
unread,
Jan 26, 2026, 1:54:20 AM (3 days ago) Jan 26
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
When compiling '*.js' files with the latest (and previous) Closure Compiler (v20260121) together with the JDK-25 the following warnings are issued: 'WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by com.google.javascript.jscomp.jarjar.com.google.protobuf.UnsafeUtil$MemoryAccessor (file:closure-compiler.jar) WARNING: Please consider reporting this to the maintainers of class com.google.javascript.jscomp.jarjar.com.google.protobuf.UnsafeUtil$MemoryAccessor WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release'.
Could you please update the Closure Compiler accordingly to prevent these warnings to occur in future releases? Thanks. A. Wenz