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 nbms-and-javadoc-6989-on-20110407) (#86b9d8d2e36f) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.6.0_24; Java HotSpot(TM) Server VM 19.1-b02; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_24-b07 Java Home = C:\Programme\Java\jdk1.6.0_24\jre System Locale; Encoding = de_DE (nb); Cp1252 Please assume the following method: private <T extends java.io.Closeable & java.io.InputStream> int method1(final Iterable<T> iterable) {} apply CodeTemplate FORE inside the method and you will get: for (<any> object { } : iterable ) { } where i extected something like: for (T object : iterable) {} The type of the iteration is missing completly. Beside that i had expected to work with the type the Iterable is typed with.
Already fixed in jet-main. *** This bug has been marked as a duplicate of bug 197526 ***