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

Oracle Community | 807553 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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