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

Deprecated WeldDeploymentMarker and WeldPortableExtensions functionality not working as expected

XMLWordPrintable

    • Hide

      1. Clone my WFLY-9529-3-broken branch of my wildfly/wildfly fork

      git clone -b WFLY-9529-3-broken --single-branch https://github.com/emmartins/wildfly emmartins_wildfly_WFLY-9529-3-broken
      

      2. Build server:

      ./emmartins_wildfly_WFLY-9529-3-broken/build.sh -DskipTests
      

      3. Run test which fails yet should pass:

      ./emmartins_wildfly_WFLY-9529-3-broken/integration-tests.sh -Dts.basic -Dtest=ApplicationContextLifecycleTestCase
      

      4. Review changes to not use the broken deprecated classes, which makes the test pass, at https://pastebin.com/DUkDPiM0

      Show
      1. Clone my WFLY-9529 -3-broken branch of my wildfly/wildfly fork git clone -b WFLY-9529-3-broken --single-branch https: //github.com/emmartins/wildfly emmartins_wildfly_WFLY-9529-3-broken 2. Build server: ./emmartins_wildfly_WFLY-9529-3-broken/build.sh -DskipTests 3. Run test which fails yet should pass: ./emmartins_wildfly_WFLY-9529-3-broken/integration-tests.sh -Dts.basic -Dtest=ApplicationContextLifecycleTestCase 4. Review changes to not use the broken deprecated classes, which makes the test pass, at https://pastebin.com/DUkDPiM0

      WFLY-11186 deprecated WeldDeploymentMarker and WeldPortableExtensions, yet it also broken at least
      WeldDeploymentMarker.isPartOfWeldDeployment(deploymentUnit) and WeldPortableExtensions.getPortableExtensions(deploymentUnit).registerExtensionInstance(new PortableExtension(deploymentUnit), deploymentUnit), which are not working as expected.

              yborgess1@redhat.com Yeray Borges Santana
              emartins@redhat.com Eduardo Martins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: