Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Compiler reports warnings Annotations suppress
Compiler reports warnings Annotations suppress [message #1745702] Fri, 14 October 2016 19:50
Brian McNamara is currently offline Brian McNamaraFriend
Messages: 1
Registered: October 2016
Junior Member
Hey Guys,

I submitted a bug that illistrates the issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=506004

TL;DR EclipseCompilerImpl is reporting problems to the diagnosticListener even when annotation processor says it should be ignored.
I've been working to try to unify compile errors across our code on command line, Eclipse and Intellij. Intellij however is using the JavaCompiler implementation to use the eclipse compiler which is causing this issue to arise.

My question is more of what is the best solution to this? I have very limited knowledge in the JDT code and have proposed a solution in the bug bug do not have enough knowledge into the code path to assure that is the correct solution. Ive noticed that the code I am touching is fairly recent: https://github.com/eclipse/eclipse.jdt.core/commit/30e98d6cc084dfe1b207ffb7493b2de7b6cec8c4 so Im not sure if this the overriden method was intentional or just misses this use case.

I'm trying to create a internal patch for our users to use until this is patched and want to make sure we are using the right approach so for any Developers who have worked on in this area of code Id appreciate some insider info Smile
Previous Topic:Internal Errors during "Project classpath scan"?
Next Topic:Liferay IDE
Goto Forum:
  


Current Time: Thu Sep 26 15:49:06 GMT 2024

Powered by FUDForum. Page generated in 0.04256 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top