CSSParser unavailable in Java 9

Issue #48 resolved
Thierry Wasylczenko created an issue

Currently, the class com.sun.javafx.css.parser.CSSParser is used by the GlyphIcon class.

In JDK 9 it seems that class is no more present and leads to a java.lang.NoClassDefFoundError exception when trying to run an application against Java 9.

Would it be possible to remove the use of this class and make FontAwesomeFX Java 9 compatible?

Comments (9)

  1. Wojciech Żurek
    java.lang.NoClassDefFoundError: com/sun/javafx/css/parser/CSSParser
        at de.jensd.fx.glyphs.GlyphIcon.<clinit>(GlyphIcon.java:48)
    

    Any plans to fix this for java 1.9 users?

  2. Willy Konguem

    Yes! Currently working on Java 9 module support!

    Great !

    Can you released last version please ? I need this for migrate my tools on java 9.

  3. Log in to comment