IllegalAccessError on FontAwesomeIcon construction

Issue #13 closed
Brian Hudson created an issue

JDK 1.8.0_20

Attempting to construct an instance of FontAwesomeIcon results in IllegalAccessError:

java.lang.IllegalAccessError: tried to access method com.sun.javafx.css.parser.CSSParser.<init>()V from class de.jensd.fx.glyphs.GlyphIcon
    at de.jensd.fx.glyphs.GlyphIcon.<clinit>(GlyphIcon.java:218)

Comments (5)

  1. khaled bed

    I still have the same bug with FontAwesomeFX 8.9 & JDK 1.8.0_45

    Caused by: java.lang.IllegalAccessError: tried to access method com.sun.javafx.css.parser.CSSParser.<init>()V 
    
          from class de.jensd.fx.glyphs.GlyphIcon 
    
          at de.jensd.fx.glyphs.GlyphIcon.<clinit>(GlyphIcon.java:49)
    
  2. Log in to comment