ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  10 Reasons We Need Java 3.0
Subject:   Java Pop Quiz
Date:   2004-08-07 22:52:19
From:   Trackback from http://www.opposable-thumbs.net/archives/2002/07/31/java_pop_quiz.html anonymous2
This one's for any of you java coders out there: Q: When is class A that implements interface B not an instance of interface B? A: When A and B are loaded by two different class loaders. I lost half a day to that one just last week, and after I mentioned my problem on a mailing list, one talented programmer friend told me he lost two weeks to the exact same bug. This is from a very interesting article over at O'Reilly's OnJava.com written by Elliotte Rusty Harold. For the longest time I've been trying to figure out why...