Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865393 - >=dev-java/ant-1.10 (or dev-java/java-config?): Suppress 'unable to determine tools.jar location' warning
Summary: >=dev-java/ant-1.10 (or dev-java/java-config?): Suppress 'unable to determine...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor with 1 vote (vote)
Assignee: Java team
Depends on:
Blocks: 682136
  Show dependency tree
Reported: 2022-08-16 14:42 UTC by James L. Hammons
Modified: 2022-08-25 19:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description James L. Hammons 2022-08-16 14:42:00 UTC
tools.jar has been removed from JDK 9+ and ant versions from 1.10.x on fully support this--therefore this warning is spurious for installations where JDK 9 and above are being utilized.

If the warning needs to stay in because some developers are still using JDK 8 and below, then at the very least there needs to be a check for the correct version of the JDK ant is using and suppress the warning if it detects JDK 9 and above.

I feel I should mention that this warning is not from upstream but comes from the Gentoo side.

Opened because bug #730456 said to.  :-)  Also, bug #682136 is relevant and could be closed once this one is resolved.
Comment 1 Alex Barker 2022-08-25 19:17:36 UTC
I am sure no one cares but there are patches to fix this attached to bug #730456.