Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 49523

Summary: Eclipse 3.0 M6 class loader doesn't create Packages?
Product: [Eclipse Project] Platform Reporter: Ilkka Priha <ipriha>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ilkka Priha CLA 2004-01-05 07:36:57 EST
The Class.getPackage() method called from within Eclipse 3.0 M6 plugins seems to
return always null. This is a problem if package names are applied e.g. as
prefixes to properties (workaround is to parse the package name from the class
name, but it can't be applied to third party libraries that throw now
NullPointerExceptions when executed under M6 if they rely on available package
names).
Comment 1 Rafael Chaves CLA 2004-02-02 21:45:46 EST

*** This bug has been marked as a duplicate of 50133 ***