db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Should BrokeredStatement.isClosed() be public?
Date Wed, 10 Oct 2007 06:36:39 GMT
Kathey Marsden <kmarsdenderby@sbcglobal.net> 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

Mime
View raw message