[jbosstools-issues] [JBoss JIRA] (JBIDE-12733) astools runtime detector does not protect optional-dep code
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 10:51:03 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Stryker resolved JBIDE-12733.
---------------------------------
Resolution: Done
committed to trunk
> 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