Wednesday, June 07, 2006

Nine Year Bug

A co-worker was trying to find a way in Java 1.5 to get free space info about a volume...I dimly remember doing this, but I'm pretty sure I did it via JNI to call the Win32 API function which made it platform dependent code, and he wanted to avoid that if he could. It turns out that Sun HAS put this functionality in Java 1.6 beta, and it only took nine years to close a bug entered for this.

Luckily, Jakarta apparently has a class that handles this without having to wait for 1.6 to finalize.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?