Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4335

ArquillianService incorrectly sets TCCL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 8.2.0.Final
    • Test Suite
    • None

    Description

      While integrating Camel in WildFly I noticed that @BeforeClass, @Before and @Test methods are being called with the TCCL of the test deployment.

      Camel happens to rely on TCCL, which is of course questionable in a modular environment. As a result it uses the test deployment's CL for resource discovery. Tests pass in the context of ARQ, but would not in a normal usage scenario when TCCL is not set or set to something else.

      This shadows potential problems when TCCL is not set or set to something else.

      Related: https://github.com/wildfly-extras/wildfly-camel/issues/292

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: