This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 51156

Summary: Javabeans not found in jars
Product: java Reporter: aldobrucale <aldobrucale>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description aldobrucale 2004-11-04 11:53:08 UTC
Using qbuild 200411020931 I can't add beans from 
jar files to the gui component palette. The 
wizard says "The selected jar archive does not 
contain any JavaBeans components". (it used to 
work with the previous qbuild)
Comment 1 Jan Stola 2004-11-04 14:36:59 UTC
The method ClassElement.isDeclaredAsJavaBean() incorrectly
returns false for JavaBeans in the JAR. It seems that
the modifiers of the class are incorrectly determined:
ClassElement.getModifiers() returns 0 for public class from the JAR.
Reassigning to java module.
Comment 2 Martin Matula 2004-11-04 14:44:10 UTC
This issue is fixed in maintrunk and the fix will be integrated to the
release40 branch today or tomorrow.

*** This issue has been marked as a duplicate of 51113 ***