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 45104 - Cannot create bean pattern in Java source containing JDK1.5 feature
Summary: Cannot create bean pattern in Java source containing JDK1.5 feature
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 15:18 UTC by _ rkubacki
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 _ rkubacki 2004-06-17 15:18:14 UTC
Open a Java file with enum or generics and try to
add bean pattern to it in explorer. Error message
is shown that the operation is not possible.

This is because source file containing 1.5
features cannot be updated using old source
hierarchy. It means that functionality working in
3.x releases is not working in trunk.
Comment 1 Tomas Hurka 2004-06-22 08:41:08 UTC
Moved to new subcomponent java/javacore.
Comment 2 Jan Becicka 2004-06-22 13:57:39 UTC
This is not a regression. Enums does not work in 3.x;
Comment 3 Martin Matula 2004-07-12 10:48:14 UTC
Since beans module is not rewritten to support JDK 1.5, we need to
disable its functionality for sources containing JDK 1.5 features in
method/class/field headers. Honzo please look at it.
Comment 4 Jan Becicka 2004-07-12 16:54:02 UTC
Fixed. 
User is informed, that bean patterns cannot be added for 1.5 source files.

/cvs/beans/src/org/netbeans/modules/beans/PatternGroupNode.java,v  <--
 PatternGroupNode.java
new revision: 1.25; previous revision: 1.24
done
Processing log script arguments...
More commits to come...
Checking in
java/src/org/netbeans/modules/java/bridge/ClassElementImpl.java;
/cvs/java/src/org/netbeans/modules/java/bridge/ClassElementImpl.java,v
 <--  ClassElementImpl.java
new revision: 1.8; previous revision: 1.7
done
Checking in
java/src/org/netbeans/modules/java/bridge/SourceElementImpl.java;
/cvs/java/src/org/netbeans/modules/java/bridge/SourceElementImpl.java,v
 <--  SourceElementImpl.java
new revision: 1.8; previous revision: 1.7
done
Comment 5 Jiri Prox 2005-07-11 08:56:29 UTC
Verified in 4.0 (200504201630)
Comment 6 Quality Engineering 2007-09-20 09:46:22 UTC
Reorganization of java component