This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Er, no. This application has been working fine on Mac, Linux and Windows, for years, so those types of issues were sorted out ages ago.
Joined: Oct 30, 2001
Looks like the problem may be due to the Mac "losing" the context class loader.
My app sets the main thread's context class loader, as the second statement in the whole app (constructing the loader is the first). All other threads ought to inherit that, as they're all descendents of main. But I find that there's sometimes a null context class loader, on the Mac.
That never happens on Windows.
Trying now to tie this down fully, so we double-check the bug's really Apple's. The alternative would be that it's in a third-party library (but then why only on Mac?).
I don't have a Mac, so I don't know of any differences in classloading. It is possible that it's a bug in either Sun's Java or Apple's Java for the Mac. You could try searching Sun's bug database, or Apple's (I don't know if they have a public bug database).