Skip to content
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

[JDK-19] Method not found while parsing signature: java.text.NumberFormat#getCompactNumberInstance() #211

Closed
reta opened this issue Oct 27, 2022 · 1 comment

Comments

@reta
Copy link

reta commented Oct 27, 2022

The java.text.NumberFormat#getCompactNumberInstance() was introduced in JDK-12 and is gone in JDK-19. I am happy to submit the pull request but I have not figured out the way to mark a particular method / class as ignorable or unresolvable. Should it be included into jdk-deprecated-19.txt although it is not deprecated but gone?

Execution failed for task ':client:test:forbiddenApisMain'.                                                                                                                                   │src/main/resources/de/thetaphi/forbiddenapis/signatures/jdk-deprecated-17.txt
> Parsing signatures failed: Method not found while parsing signature: java.text.NumberFormat#getCompactNumberInstance() 
@reta
Copy link
Author

reta commented Oct 27, 2022

Closing this one, this is a variation of #208 : the Gradle was run with JDK-11 but JDK-19 was used for the build.

@reta reta closed this as completed Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant