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.
Injection in Java EE 5 based app client is supported only in main class, in other classes there must be used J2EE 1.4 style lookup w/ associated entries in DD. Currently lookup method is being generated correctly, but entries to DD are not being added.
Created attachment 34997 [details] diff
Andrej, Martin can I ask you for review and/or a suggestion how to make better fix for this? Thanks.
Created attachment 35020 [details] correct patch
> entries to DD are not being added. This behavior is for main class or for other classes? Can you please clarify? Thanks.
For other classes - in non-main class there must be lookup method with associated entries in DD, currently there's lookup method but no entry in DD and w/o this entry lookup will not work.
Not a showstopper for NetBeans 5.5, adding the 5.5_WAIVER_REQUEST keyword per team agreement.
No objections in last 24 hours. Marking as approved.
f. in M4, Dane, please verify. IDE: [10/20/06 11:16 AM] Committing "JarContainerImpl.java" started Checking in JarContainerImpl.java; /cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/JarContainerImpl.java,v <-- JarContainerImpl.java new revision: 1.3; previous revision: 1.2 done IDE: [10/20/06 11:17 AM] Committing "JarContainerImpl.java" finished
v.
The issue has been fixed in the release551 branch. Checking in JarContainerImpl.java; /cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/JarContainerImpl.java,v <-- JarContainerImpl.java new revision: 1.1.4.8.16.1; previous revision: 1.1.4.8 done