Eclipse Platform Release Notes (3.6) - JDT Annotation Processing

# Eclipse Platform Build Notes (3.6)
JDT Annotation Processing

Integration Build (March 05, 2011, 11:48 a.m.)

Problem reports updated

Bug 338370. NPE in BatchFilerImpl.getResource (FIXED)
Bug 338625. 23 compile warnings in official build (FIXED)

Integration Build (January 20, 2011)

Problem reports updated

Bug 301894. OutOfMemory error when building a large project with annotations

Integration Build (July 26, 2010, 11:03 p.m.)

Problem reports updated

Bug 320195. Eclipse hangs when processing annotation (FIXED)

Integration Build (July 06, 2010, 10:04 p.m.)

Problem reports updated

Bug 313324. Suspicious fall-through (NEW)

Integration Build (April 20, 2010, 11:23 p.m.)

Problem reports updated

Bug 261969. classElement.getAnnotation(...).value() returns null in some cases for String[] properties (FIXED)
Bug 290780. org.eclipse.jdt.compiler.apt does not export all its packages (FIXED)
Bug 308555. The ".factorypath" doesn't have a team file type registered (FIXED)

Integration Build (September 21, 2009, 10:36 p.m.)

Problem reports updated

Bug 290027. Use IResource#setDerived(boolean, IProgressMonitor) instead of IResource#setDerived(boolean) (NEW)

Integration Build (August 21, 2009, 11:24 p.m.) - 3.5.1

Problem reports updated

Bug 287323. [compiler][apt] Error type detection is too conservative (FIXED)

Integration Build (August 17, 2009, 11:24 p.m.)

Problem reports updated

Bug 285838. [apt] IdeFilerImpl breaks javax.annotation.processing.Filer contract (FIXED)

Integration Build (April 26, 2009, 12:24 a.m.)

Problem reports updated

Bug 263985. APT errors on a clean build (DUPLICATE)
Bug 269934. [apt] APT-generated classes that contain annotations causes NPE (FIXED)

Integration Build (April 13, 2009, 9:48 p.m.)

Problem reports updated

Integration Build (January 12, 2009, 11:37 p.m.)

Problem reports updated

Bug 258917. [jsr269] Not-yet-implemented methods in Java 6 APT (FIXED)
Bug 259248. [jsr269] TypesImpl#isSubtype not yet implemented in APT6 (FIXED)
Bug 259249. [jsr269] VariableElementImpl#getEnclosingElement not yet implemented in APT6 (FIXED)

Integration Build (January 05, 2009, 11:26 a.m.)

Problem reports updated

Integration Build (December 09, 2008, 12:16 a.m.)

Problem reports updated

Bug 256184. getDeclaredType throws IllegalArgumentException for array types (FIXED)

Integration Build (November 25, 2008, 7:10 a.m.)

Problem reports updated

Integration Build (November 25, 2008, 12:14 a.m.)

Problem reports updated

Integration Build (November 25, 2008, 12:09 a.m.)

Problem reports updated

Integration Build (November 08, 2008, 4:56 p.m.)

Problem reports updated

Integration Build (September 29, 2008, 9:56 p.m.)

Problem reports updated

Bug 240264. UnsupportedOperationException in FileObject.getName (FIXED)
Bug 246089. UnsupportedOperationException in FileObject.getCharContent (FIXED)
Bug 248156. Implement FileObject.toUri() (FIXED)

Integration Build (September 02, 2008, 9:50 a.m.)

Problem reports updated

Bug 245746. NPE org.eclipse.jdt.apt.core.internal.env.BaseProcessorEnv:491 (FIXED)

Integration Build (May 13, 2008, 9:33 a.m.)

Problem reports updated

Bug 231496. Extraneous override: ErrorTypeElement#accept is a plain copy of TypeElementImpl#accept (FIXED)
Bug 231521. JDT APT TypeElement#getInterfaces brings interfaces back when they are missing, while javac brings none (FIXED)

Integration Build (May 07, 2008, 8:39 a.m.)

Problem reports updated

Integration Build (April 29, 2008, 11:38 p.m.)

Problem reports updated

Bug 228691. JDT impl of com.sun.mirror.util.Types.isAssignable() returns false for wrapper to primitive assignment (FIXED)

Integration Build (April 27, 2008, 11:27 a.m.)

Problem reports updated

Bug 222735. DOM AST: hide recovered bindings unless 'recovered bindings' is enabled (FIXED)

Integration Build (April 14, 2008, 6:41 p.m.)

Problem reports updated

Bug 218057. [jsr269] annotation values should preserve order (FIXED)

Integration Build (April 07, 2008, 10:43 a.m.)

Problem reports updated

Bug 178138. APT writes to the log when a factory path entry is missing (FIXED)
Bug 224424. Negative1 test failing on Linux (NEW)
Bug 224943. Markers should have a sourceID set (FIXED)
Bug 225611. APT test failure to delete parent file (FIXED)

Integration Build (March 29, 2008, 9:44 a.m.)

Problem reports updated

Bug 224424. Negative1 test failing on Linux (NEW)
Bug 224750. NPE during reconcile, in AbstractCompilationEnv.getAnnotationTypes() (FIXED)

Integration Build (March 27, 2008, 10:41 a.m.)

Problem reports updated

Bug 224424. Negative1 test failing on Linux (NEW)

Integration Build (March 25, 2008, 5:41 p.m.)

Problem reports updated

Bug 223281. isValidBinding() returns true for missing parameterized types (FIXED)

Integration Build (March 23, 2008, 11:10 p.m.)

Problem reports updated

Integration Build (March 17, 2008, 11:33 a.m.)

Problem reports updated

Bug 208454. [prov] Provisioning of root files (NEW)

Integration Build (March 12, 2008, 8:48 a.m.)

Problem reports updated

Bug 221267. [1.5][compiler] missing annotation bindings on interface method parameter (NEW)

Integration Build (February 25, 2008, 3:22 p.m.)

Problem reports updated

Integration Build (February 11, 2008, 3:21 p.m.)

Problem reports updated

Bug 217002. Typo in javadoc for AptPreferenceConstants.PROCESSING_IN_EDITOR_DISABLED_OPTION (FIXED)

Integration Build (January 14, 2008, 11:49 a.m.)

Problem reports updated

Bug 213540. Support Filer.getResource() in IDE (FIXED)

Integration Build (January 07, 2008, 3:36 p.m.)

Problem reports updated

Bug 202956. APT should group their marker types (FIXED)
Bug 213539. Support Filer.createClassFile() in IDE (NEW)
Bug 213917. [apt] env.getPackage() returns corrupt packages (FIXED)

Integration Build (November 20, 2007, 9:10 a.m.)

Problem reports updated

Integration Build (November 19, 2007, ? p.m.)

Problem reports updated

Bug 209715. org.eclipse.jdt.apt.core.util.AptPreferenceConstants should clarify its specification (FIXED)

Integration Build (November 12, 2007, 8:26 p.m.)

Problem reports updated

Integration Build (November 05, 2007, 5:36 p.m.)

Problem reports updated

Bug 208186. Don't set encoding of generated file unless it needs to change (FIXED)

Integration Build (October 26, 2007, 6:26 p.m.)

Problem reports updated

Bug 203241. [compiler] Missing warning when a serializable class without serialVersionUID is also abstract (FIXED)
Bug 206591. AnnotationProcessorEnvironment.getTypeUtils().isSubtype does not work as expected (NEW)
Bug 207408. non-translated marker name %aptNonreconcileBatchMarkerName (FIXED)

Integration Build (October 15, 2007, 4:20 p.m.)

Problem reports updated

Bug 170692. Timeliness of problem removal with APT (FIXED)

Integration Build (October 02, 2007, 5:53 p.m.)

Problem reports updated

Bug 190612. Implement JavaFileObject.openOutputStream() in IDE (FIXED)
Bug 202548. APT plugins are missing .options files (FIXED)

Integration Build (September 20, 2007, 3:36 p.m.)

Problem reports updated

Bug 203900. Generated file dependencies not always serialized (NEW)
Bug 204056. disabling annotation processing from UI does not clean build state (ASSIGNED)

Integration Build (September 16, 2007, 4:46 p.m.)

Problem reports updated

Integration Build (September 13, 2007, 2:59 p.m.)

Problem reports updated

Bug 200124. [jsr269] Implement createResourceFile in IDE (FIXED)
Bug 201479. non-source generated files deleted improperly (FIXED)
Bug 201931. pluggable FilerTests fail sporadically (NEW)

Integration Build (August 27, 2007, 12:51 p.m.)

Problem reports updated

Integration Build (August 20, 2007, 4:03 p.m.)

Problem reports updated

Bug 188559. Delete files generated by Java 6 processors during build (NEW)
Bug 190617. [jsr269] processors not getting called on final round (ASSIGNED)

Integration Build (July 23, 2007, 3:16 p.m.)

Problem reports updated

Bug 190268. Need to perform a validateEdit() before setting encoding (FIXED)
Bug 193784. Proprietary licenses (FIXED)
Bug 197050. [jsr269] Support -XprintRounds and -XprintProcessorInfo (FIXED)

Integration Build (May 23, 2007, 9:07 a.m.)

Problem reports updated

Bug 186427. Need a finally block in AptDispatchRunnable.build (FIXED)
Bug 187135. AbortCompilationException when project is missing classes (FIXED)
Bug 188185. RTTG_ENABLED_OPTION should ignore -A (FIXED)

Integration Build (May 14, 2007, 6:20 p.m.)

Problem reports updated

Bug 171893. getPackage().getQualifiedName() is slow (FIXED)
Bug 186740. [PERF] discard cached Problems after each build (FIXED)

Integration Build (May 10, 2007, 5:05 p.m.)

Problem reports updated

Bug 178138. APT writes to the log when a factory path entry is missing (FIXED)
Bug 181869. IllegalArgumentException with annotation value syntax error (FIXED)
Bug 182364. Type checking is too aggressive (FIXED)
Bug 185220. IDE java 6 APT support needs a Messager (FIXED)

Integration Build (May 02, 2007, 12:55 p.m.)

Problem reports updated

Bug 184923. Deadlock in AnnotationProcessorFactoryLoader (FIXED)

Integration Build (May 01, 2007, 5:57 p.m.)

Problem reports updated

Bug 178690. Processors should be able to disable reconcile-time type deletion (NEW)
Bug 185010. Catch processor exceptions lower on the stack during reconcile (NEW)

Integration Build (April 16, 2007, 7:16 p.m.)

Problem reports updated

Integration Build (April 09, 2007, 6:36 p.m.)

Problem reports updated

Bug 180595. Permit modification of AnnotationProcessorListeners during callback (FIXED)

Integration Build (April 02, 2007, 5:59 p.m.)

Problem reports updated

Bug 175794. Type generation causes reported problems to disappear (ASSIGNED)
Bug 177683. NPE in internal.util.Factory.createErrorClassType() (FIXED)

Integration Build (March 19, 2007, 00:10)

Java 6 annotation processing

In this integration build, the Java 6 annotation processing API (JSR-269) has been partly enabled. Not all aspects of the API are yet working. If you have specific use cases that need to be supported before you can to contribute testing, please feel free to enter bug reports against the JDT APT component, or email jdt-apt-dev@eclipse.org. Please provide as much detail as possible.

Problem reports updated

Bug 176883. Deleted files not being properly reported (FIXED)
Bug 176132. Add a flag to disable reconcile-time annotation processing (FIXED)