So, do you know when actually Package.getPackageName fails? I thought it fails when the class is not loaded yet. Which can be cercumvented by calling that class first like MyClass.getPackage().
Anyway, I'm not happy with that package behaviour either, but Strings also suck big time because they don't refactor well. And providing a class parameter while you need the package is imo just a lousy contract. I'd rather put a big warning there and let users be responsibility. Or use the string. Maybe that's best. Eelco ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
