[jbosstools-issues] [JBoss JIRA] (JBIDE-12733) astools runtime detector does not protect optional-dep code

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue Oct 23 10:45:01 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Malina closed JBIDE-12733.
---------------------------------



I haven't seen a problem with dtp resolution in latest builds so I assume this is done. Closing.
                
> astools runtime detector does not protect optional-dep code
> -----------------------------------------------------------
>
>                 Key: JBIDE-12733
>                 URL: https://issues.jboss.org/browse/JBIDE-12733
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.0.0.Beta1
>
>         Attachments: JBIDE-12733.patch
>
>
> After moving the AS Runtime detector into as.core, the dtp dependencies were marked as optional. During some builds [1] DTP may not be present, and the AS handler runtime extension point will fail to resolve. The import of a dtp class inside JBossASHandler will cause the class to fail to load. 
> The solution is to isolate the dtp code and class references inside the DriverUtility, and ensuring only a wrapper exception is thrown (not a DTP exception). 
> [1] http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_stable_branch.component--openshift/35/artifact/sources/tests/org.jboss.tools.openshift.egit.test/target/work/data/.metadata/.log

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list