cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35162] - [PATCH] EclipseJavaCompiler chokes on warnings
Date Wed, 31 Aug 2005 03:33:47 GMT
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 agallardo@agsoftware.dnsalias.com  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.

Mime
View raw message