Skip to content

[JENKINS-65605] WithBridgeMethods annotation no longer working in core #12036

Description

@jenkins-infra-bot

the `WithBridgeMethods` annotation no longer works and so we would break compatibility with plugins using bridge methods from core

To reproduce,

hub clone jenkinsci/promoted-builds-plugin
cd promoted-builds-plugin
git checkout promoted-builds-3.9.1
mvn clean test -Djenkins.version=2.288

java.lang.NoSuchMethodError: hudson.model.Queue$WaitingItem.getFuture()Ljava/util/concurrent/Future


Originally reported by teilo, imported from: `WithBridgeMethods` annotation no longer working in core
  • assignee: teilo
  • status: Closed
  • priority: Blocker
  • component(s): core
  • label(s): 2.289.1-fixed, regression
  • resolution: Fixed
  • resolved: 2021-05-24T19:27:11+00:00
  • votes: 0
  • watchers: 2
  • imported: 2025-11-24
Raw content of original issue

the `WithBridgeMethods` annotation no longer works and so we would break compatibility with plugins using bridge methods from core

To reproduce,

hub clone jenkinsci/promoted-builds-plugin
cd promoted-builds-plugin
git checkout promoted-builds-3.9.1
mvn clean test -Djenkins.version=2.288

java.lang.NoSuchMethodError: hudson.model.Queue$WaitingItem.getFuture()Ljava/util/concurrent/Future

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions