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

--release flag is not equivalent #175

Open
elharo opened this issue Sep 13, 2021 · 1 comment
Open

--release flag is not equivalent #175

elharo opened this issue Sep 13, 2021 · 1 comment

Comments

@elharo
Copy link

elharo commented Sep 13, 2021

Website says "Please note this plugin is now in maintenance level as the exact same feature can be now easily achieved using the --release flag from Javac see http://openjdk.java.net/jeps/247"

However, I use animal sniffer to check Android API levels, which --release doesn't do. --release only checks JDK versions, animal sniffer does more.

@luc-leclerc
Copy link

Would you happen to know how to use that --release flag on JDK ?

javac --release 17 Main.java only compile, it doesn't show the boot class path

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

No branches or pull requests

3 participants