Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12733

astools runtime detector does not protect optional-dep code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha2
    • server
    • None

      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

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: