Delete sun.com in Java 9 misc. Unsafe will break spring, hibernate

I read here, if Oracle deleted sun. In Java 9 misc. Unsafe, spring and many other popular libraries will be destroyed However, there is no static reference to this class in spring or hibernate So is the claim true?

BTW has 64 unsafe references in Java 8, but if Oracle deletes the class, they will update them and will not affect the library (unless they use unsafe directly)

Solution

Perhaps these references are not the core of spring or hibernate, but elsewhere The file about spring says

I'm trying to search for unsafe usage in the ongoing project, so there are still many libraries that may be damaged

Search results:

>Guava > GWT > netty Jersey > infinispan > JBoss module

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>