You didn't recompile everything, that's the reason. I got the same error 
the first time, that's how I realized that the child had overridden the 
method. This is an interesting finding in itself: javac provides the 
override precisely to avoid pitfalls such as this one. If the parent was 
public, this wouldn't have happened.

Anyway, to make it really minimal, put all the java code into a single 
ConcreteChild.java.

On Wednesday, March 13, 2013 11:36:05 AM UTC+1, Shlomi Vaknin wrote:
>
> are you getting the same error? i was getting 
> clojure.lang.Compiler$CompilerException: java.lang.VerifyError: class Test 
> overrides final method methodA.()I, compiling:(NO_SOURCE_PATH:2)
>
> what is your code?
>
>
> On Wed, Mar 13, 2013 at 12:31 PM, Marko Topolnik 
> <marko.t...@gmail.com<javascript:>
> > wrote:
>
>> I did it: the method must be final. Apparently without that the child is 
>> compiled with an overriding method that I didn't even define!
>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to