bndtools / bnd

Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
https://bndtools.org
Other
532 stars 305 forks source link

Expose references towards java.lang classes with xref #6296

Closed kwin closed 2 months ago

kwin commented 2 months ago

When using xref e.g. with options -cf there is no references towards classes below java.lang.* exposed [#2507].

I need this to debug why an import-package header to java.lang.constant is being generated by bnd despite compiling with --release 11. The package java.lang.constant however was only added in Java 12.

I tried with

bnd version                                                 
7.0.0.202310060912
pkriens commented 2 months ago

I was in a good mood: https://github.com/bndtools/bnd/pull/6297