You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Erie (JIRA)" <ji...@codehaus.org> on 2011/02/15 15:57:22 UTC
[jira] Created: (MCOMPILER-149) Java compiler warning is masking a
javac exception, which the compiler plugin doesn't know how to parse
Java compiler warning is masking a javac exception, which the compiler plugin doesn't know how to parse
-------------------------------------------------------------------------------------------------------
Key: MCOMPILER-149
URL: http://jira.codehaus.org/browse/MCOMPILER-149
Project: Maven 2.x Compiler Plugin
Issue Type: Bug
Affects Versions: 2.0.2
Environment: Windows XP SP3, Java 1.6.0_17, Maven 2.0.8
Reporter: David Erie
The following javac error is hidden when the project that produced it also contains a java compiler warning. If the code that produces the warning is removed, and the project is rebuilt, then the javac error is output; otherwise, only the warning is output.
This is the error that is hidden by the warning below:
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.persistence.AccessType not found
This is the warning that hides the above error when produced:
[WARNING] somefile.java:[79,24] com.sun.jmx.trace.Trace is Sun proprietary API and may be removed in a future release
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCOMPILER-149) Java compiler warning is masking
a javac exception, which the compiler plugin doesn't know how to parse
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MCOMPILER-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277314#comment-277314 ]
Robert Scholte commented on MCOMPILER-149:
------------------------------------------
This should be resolved with the fix for MCOMPILER-118. Please verify.
> Java compiler warning is masking a javac exception, which the compiler plugin doesn't know how to parse
> -------------------------------------------------------------------------------------------------------
>
> Key: MCOMPILER-149
> URL: https://jira.codehaus.org/browse/MCOMPILER-149
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.0.2
> Environment: Windows XP SP3, Java 1.6.0_17, Maven 2.0.8
> Reporter: David Erie
>
> The following javac error is hidden when the project that produced it also contains a java compiler warning. If the code that produces the warning is removed, and the project is rebuilt, then the javac error is output; otherwise, only the warning is output.
> This is the error that is hidden by the warning below:
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.persistence.AccessType not found
> This is the warning that hides the above error when produced:
> [WARNING] somefile.java:[79,24] com.sun.jmx.trace.Trace is Sun proprietary API and may be removed in a future release
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCOMPILER-149) Java compiler warning is masking a javac
exception, which the compiler plugin doesn't know how to parse
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MCOMPILER-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MCOMPILER-149.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Assignee: Robert Scholte
> Java compiler warning is masking a javac exception, which the compiler plugin doesn't know how to parse
> -------------------------------------------------------------------------------------------------------
>
> Key: MCOMPILER-149
> URL: https://jira.codehaus.org/browse/MCOMPILER-149
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.0.2
> Environment: Windows XP SP3, Java 1.6.0_17, Maven 2.0.8
> Reporter: David Erie
> Assignee: Robert Scholte
> Fix For: 2.4
>
>
> The following javac error is hidden when the project that produced it also contains a java compiler warning. If the code that produces the warning is removed, and the project is rebuilt, then the javac error is output; otherwise, only the warning is output.
> This is the error that is hidden by the warning below:
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for javax.persistence.AccessType not found
> This is the warning that hides the above error when produced:
> [WARNING] somefile.java:[79,24] com.sun.jmx.trace.Trace is Sun proprietary API and may be removed in a future release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira