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.
Product Version: NetBeans IDE Dev (Build 200803210006) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.2 running on i386; MacRoman; en_US (nb) -create web project -create entity class with same name as any class on the project classpath, but in different package (e.g. "entity.Method") -generate JFS CRUD -import in the generated controller class is invalid (in this case - imports java.lang.reflect.Method) sample project attached
Created attachment 58876 [details] project
Marking invalid. It so happens that JSF CRUD always generates an import for java.lang.reflect.Method.
We shouldn't generate uncompilable code. We should handle similar cases for names like List, ...
Seems minor, but agreed.
moving opened issues from TM <= 6.1 to TM=Dev
Minor, P4.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss