[jboss-jira] [JBoss JIRA] Commented: (LOGTOOL-8) Exception create methods fail to compile if the exception type appears in source code (as opposed to being on the class path)

James Perkins (JIRA) jira-events at lists.jboss.org
Tue Jan 25 00:55:49 EST 2011


    [ https://issues.jboss.org/browse/LOGTOOL-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577659#comment-12577659 ] 

James Perkins commented on LOGTOOL-8:
-------------------------------------

Removed reflection which fixed the classpath issues.

> Exception create methods fail to compile if the exception type appears in source code (as opposed to being on the class path)
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOGTOOL-8
>                 URL: https://issues.jboss.org/browse/LOGTOOL-8
>             Project: Log Tool
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: David Lloyd
>            Assignee: James Perkins
>             Fix For: 1.0.0.Beta3
>
>
> For methods which construct an exception, if the returned exception type is part of the module being compiled (as opposed to being on the compiled class path), processing fails with this exception:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project invocation-api: Compilation failure
> [ERROR] /home/david/src/java/rws/invokable-container/api/src/main/java/org/jboss/invocation/InvocationLogger.java:[38,24] Return type org.jboss.invocation.InvocationException for method invocationException(java.lang.Throwable) is not in the classpath

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list