PoslavskySV/rings

Avoid sun.misc

tordr opened this issue · 2 comments

tordr commented

Just downloaded the software and added it as a Maven project. The compiler gave a set of errors and warnings. All of them because of the use of sun.misc classes in the code. I am using java version 10.0.2.

I do not know how easy or difficult it would be to remove/rewrite these parts of the code.

Hi!

Just tried with JDK 11: created new Maven project, added rings 2.5.2 and everything worked just fine --- no any problems with sun.misc. How can I reproduce your problem?

tordr commented

The problem seems to be on my side. When I start a new project using the maven build I sun.misc is not supported. When I add sun.misc.unsafe to my other project it does not complain when compiling the code.

For reference I am using Intellij IDEA 2018.2.4