java.lang.IllegalAccessError: try to access field test2.i from class test1

Oracle Community | 807553 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BUG(s) in java VM for Windows 2000!?

    Oracle Community | 1 decade ago | 807553
    java.lang.IllegalAccessError: try to access field test2.i from class test1

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      try to access field test2.i from class test1

      at test1.main()
    2. Unknown
      test1.main
      1. test1.main(test1.java:6)
      1 frame