GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [sdk-platform-java] Provide a version that doesn't build upon old javax libraries · Issue #12363 · googleapis/google-cloud-java

[sdk-platform-java] Provide a version that doesn't build upon old javax libraries #12363

New issue
Copy link
New issue
Copy link
Closed
#14538
Closed
[sdk-platform-java] Provide a version that doesn't build upon old javax libraries#12363
#14538
Copy link
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@LStampf
LStampf
opened on Mar 18, 2026
Issue body actions

Is your feature request related to a problem? Please describe.

In version 1.39 a dependency to api-common was introduced.
Commit

api-common still references javax.annotations a dependency that has moved to jakarta.annotations years ago. This can cause a headache for projects that already moved to jakarta.

Describe the solution you'd like
Update to the jakarta namespace or remove the api-common dependency because it is only used for one annotation anyway.

Activity

  1. lqiu96
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Mar 20, 2026
  2. lqiu96 commented on Mar 20, 2026

    @lqiu96
    lqiu96
    on Mar 20, 2026
    Member
    More actions

    I see. Thanks for raising this.

    We added api-common specifically to utilize the @InternalApi and @ObsoleteApi annotations for features in the auth library. I believe the only issue with excluding javax.annotations is the single @Generated annotation as JwtClaims generated with AutoValue.

    Our deps are managed in sdk-platform-java. Going to move this issue over to that repo where we see how to migrate over to the jakarta.annotations dep


    Interestingly, it just seems like IntelliJ flags the @Generated annotation as it can't be found, but I am able to build locally when excluding the dep and the tests pass

  3. lqiu96
    transferred this issue fromgoogleapis/google-auth-library-javaon Mar 20, 2026
  4. chingor13
    changed the title [-]Provide a version that doesn't build upon old javax libraries[/-] [+][sdk-platform-java] Provide a version that doesn't build upon old javax libraries[/+] on Apr 1, 2026
  5. chingor13
    transferred this issue fromgoogleapis/sdk-platform-javaon Apr 1, 2026
  6. blakeli0
    added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    and removed
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Sep 28, 2026
  7. blakeli0
    closed this as completedin #14538on Sep 29, 2026
  8. blakeli0
    added 2 commits that reference this issue on Sep 29, 2026

    fix(auth): exclude javax.annotation-api from api-common dependency (#…

    This issue will close once commit 668fd18 is merged into the 'main' branch.
    668fd18

    chore(main): release 1.93.0 (#14552)

    This issue will close once commit 976d588 is merged into the 'main' branch.
    976d588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.