Skip to content

Conversation

@chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Jan 1, 2026

Closes #7005

remove Java 9+ features: It was simply the attributes of the @Deprecated annotation. So we just put that into the comment and use plain @Deprecated which is Java8 compatible.

Then enforced compilation with java8

TODO: Not sure if we really want to do this or what the drawbacks are. Maybe with bnd 8.0.0 we should remove java 8 support fully.

remove Java 9+ features: It was simply the attributes of the `@Deprecated` annotation. So we just put that into the comment and use plain `@Deprecated` which is Java8 compatible.

The enforce compilation with java8

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger marked this pull request as draft January 1, 2026 16:51
@peterkir
Copy link
Contributor

peterkir commented Jan 1, 2026

Supporting Java 8 is a good idea from my point for now.
So removing Java 9 features for now, is a an obvious reason.

@chrisrueger chrisrueger marked this pull request as ready for review January 1, 2026 21:51
@chrisrueger chrisrueger merged commit 7249192 into bndtools:master Jan 3, 2026
11 checks passed
@chrisrueger
Copy link
Contributor Author

chrisrueger commented Jan 3, 2026

@laeubi
Copy link
Contributor

laeubi commented Jan 15, 2026

For annotation I think its fine keep them at java8 I see no benefit in any higher java version.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

biz.aQute.bnd.annotation bytecode level causes downstream build issues

3 participants