java.lang.IllegalAccessError: try to access field javax.swing.ButtonGroup.selection from class javax.swing.IllegalAccessSample

Oracle Community | 843797 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Subclass access to a JDK base class package field throws IllegalAccessError

    Oracle Community | 1 decade ago | 843797
    java.lang.IllegalAccessError: try to access field javax.swing.ButtonGroup.selection from class javax.swing.IllegalAccessSample

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      try to access field javax.swing.ButtonGroup.selection from class javax.swing.IllegalAccessSample

      at javax.swing.IllegalAccessSample.<init>()
    2. Java RT
      IllegalAccessSample.main
      1. javax.swing.IllegalAccessSample.<init>(IllegalAccessSample.java:13)
      2. javax.swing.IllegalAccessSample.main(IllegalAccessSample.java:21)
      2 frames