Updated: 3/1/2003; 8:04:28 PM.
 
Ockham's Flashlight
Stuart Halloway on software development, technology, and the future.
        

Friday, February 14, 2003

Scott Stirling pointed out that my "class loading sucks" example ignores the contract and constraints of the Java 2 ClassLoader extension API.

I know how class loaders are supposed to work. For the last two years I have been making pretty much the same argument Scott makes.

However, if Scott (and old-me) are right, then why do we need abominations like this, and why do so many projects find non-delegating loaders necessary?

I'll pull together my list of ideas but I am interested in hearing from others as well.

P.S. I love Ant, JUnit, and Tomcat.
10:12:48 PM    comment []


All right, Ted. You win. Class loading needs an overhaul. After Conor pointed out the potential for LinkageErrors in this situation, I went and coded up a clean example of the problem. Yuck.

Disclaimer: Most of the time I don't think class loaders suck. Just don't want to let Andy monopolize the word too much.
2:12:50 AM    comment []


© Copyright 2003 Stuart Halloway.
 
February 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Jan   Mar

About me

Teaching
The book
Speaking
Articles
Bio
CV
Java/COM/Win32 interop
Jawin
Contact


Subscribe to "Ockham's Flashlight" in Radio UserLand.

Click to see the XML version of this web page.