-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api-common using deprecated javax.annotation-api #1938
Comments
Digging further. Where do we use javax.annotation?Here are example usages sdk-platform-java
java-storage
|
@abhishekshan03 Would you share details about the noncompliance? Do you get any error message when you use certain tools from Jakarta EE? I found this article https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress/ but it didn't have any specifics about |
Hi @suztomo |
Hi @suztomo Is there any idea on when this might be released? It is blocking a major upgrade for us. |
@abhishekshan03 @MyDogIsMyPersonality Are you suffering from some errors with certain tools when they're used with GCP Java libraries? I think it's easy to swap but I'd like to ensure to verify the fix. Thank you for sharing jruby/jruby#6514. I see it's fixed there. |
There is more information in issue 2176, but Jakarta won't upgrade due to the transient dependency in javax. |
@MyDogIsMyPersonality googleapis/java-storage#2176 does not have any errors.
Would you elaborate a bit more? Are you referencing a certain version of one of the tools listed in https://jakarta.ee/compatibility/ ? |
@suztomo Can you please give us an ETA for replacing the dependency for javax.annotation-api.jar with jarkarta annotations in google-cloud-storage.jar ? |
We are not facing any error but since there is dependency on the deprecated javax.annotation-api.jar, we are proactively removing such dependencies. |
Thank you. It's good to hear that there's no one suffering from errors due to the annotations.
It seems that you're not a normal user of Jakarta EE and Google Cloud. Do you mind sharing who is "we" here (organization name or the name of a team)? Given you're not suffering from this issue, I would like to know the context of why you want this change.
|
Got information from the TAM. Thank you. I'll update you about the plan soon. We have the email thread to follow up. |
Continuing investigation. |
We use code generators in Cloud SDK for Java, and they use
Now each has tracking feature request (but no commitment). So far no one has suffered problems caused by javax namespace. For GuardedBy, (usage), as long as the purpose is Errorprone's static analysis, Errorprone's GuardedByhttps://github.com/google/error-prone/blob/master/docs/bugpattern/GuardedBy.md
Would removing the |
Google Cloud storage recieved googleapis/java-storage#2176 due to a transient dependency on javax.annotaion-api. This should be updated to the new jakarta namespace.
The text was updated successfully, but these errors were encountered: