Skip to content

Load-time weaving support for WildFly 24+ #33728

Description

@mkoskin

Support for wildfly delegating transformer is broken since wildfly-core 19 wildfly/wildfly-core@c0d7756

Spring class org.springframework.instrument.classloading.jboss.JBossLoadTimeWeaver expects to load class org.jboss.as.server.deployment.module.DelegatingClassFileTransformer. However, this class has been renamed to org.jboss.as.server.deployment.module.DelegatingClassTransformer in wildfly-server 19.0.0. Also, the DelegatingClassTransformer doesn't implement java.lang.instrument.ClassFileTransformer any more. Instead, it implements org.jboss.modules.ClassTransformer.

Activity

  1. added
    in: coreIssues in core modules (aop, beans, core, context, expression)
    and removed on Oct 17, 2024
  2. self-assigned this
    on Oct 18, 2024
  3. modified the milestones: 6.2.0, 6.1.15 on Oct 18, 2024
  4. added a commit that references this issue on Oct 21, 2024
    09fe0ad
  5. jhoeller commented on Oct 21, 2024

    @jhoeller
    Contributor

    I've added conditional support for WildFly 24+ to JBossLoadTimeWeaver. This will be available in the upcoming 6.1.15 and 6.2.0 snapshots; feel free to give it an early try. Note that this has not been tested in an actual WildFly deployment yet, so any such test would be highly appreciated.

  6. mkoskin commented on Oct 22, 2024

    @mkoskin
    Author

    I tested this with 6.1.15 snapshot together with WildFly 31.0.1.Final and EclipseLink 4.0.4 with load time weaving enabled. This combination is now working correctly. Thank you!

  7. jhoeller commented on Oct 22, 2024

    @jhoeller
    Contributor

    Good to hear! Thanks for the immediate feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions