NoSuchMethodError on Java 10
Issue #269
resolved
Hello, When I try to run JAudioTagger in Java 10 and when I try to call MP3File constructor, it gives me NoSuchMethodError.
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: sun.nio.ch.DirectBuffer.cleaner()Lsun/misc/Cleaner;
Please let me know about the following issue which I'm facing in Java 10.
Also let me tell you that I had no problems using this in previous versions of Java
Comments (4)
-
repo owner -
repo owner I can only see reference to this in DirectByteBufferUtils and this is only used by FlacTagWriter !
-
repo owner So we dont actually use this class anymore but removed from code. If you are seeing error with Mp3s i suggest must be using an old version of jaudiotagger.
-
repo owner - changed status to resolved
Done.
- Log in to comment
Ah okay, looks like we will have to remove this sun class then, thankyou for reporting this issue