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 - Javabeans not found in jars
Summary: Javabeans not found in jars
Status: RESOLVED DUPLICATE of bug 51113
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 11:53 UTC by aldobrucale
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***