DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35162





------- Additional Comments From [EMAIL PROTECTED]  2005-08-31 05:33 -------
I am not sure if the fix is OK. Checking the jdt sources:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java?rev=1.43&content-type=text/vnd.viewcvs-markup

There is:

/**
         * Answer the problems (errors and warnings) encountered during 
compilation.
         *
         * This is not a compiler internal API - it has side-effects !
         * It is intended to be used only once all problems have been detected,
         * and makes sure the problems slot as the exact size of the number of
         * problems.
         */
        public IProblem[] getProblems() { ...}


I wonder if we are going to break something. Another posibility is if you can
point out the warning that were forgotten and to turn them off.

Please will help if you provide the Java version. Torsten Curdt can tell more
than me related this issue. Note that in jakarta commons-jci there is a similar
code as in cocoon:

http://jakarta.apache.org/commons/sandbox/jci/xref/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.html



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to