Compiler reports warnings Annotations suppress [message #1745702] |
Fri, 14 October 2016 15:50 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06403 seconds