Kathey Marsden <[EMAIL PROTECTED]> writes: > Without access change output: > The following program gives: > Exception in thread "main" java.lang.IllegalAccessError > at > AbstractAccessError.main(AbstractAccessError.java:13) > > With access change output: > [C:/kmarsden/repro/brokclosed] java AbstractAccessError > stmt.isClosed():false > > I am not sure why the jvm is accessing the parent class's method > during runtime, is that a JVM bug that it does?
I think so. FWIW, I don't see the error when I run your test program in my environment (OpenSolaris, Sun Java 1.6.0_02). -- Knut Anders
