Skip to content

Commit 00f2308

Browse files
authored
Merge pull request #6887 from bndtools/docs/gen-2025-10-26-161946
docs: update generated docs
2 parents b3b05b2 + 43c2c9c commit 00f2308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_instructions/noimportjava.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ note: AUTO-GENERATED FILE - DO NOT EDIT. You can add manual content via same fil
1717

1818
Prior to OSGi Core R7, it was invalid for the Import-Package header to include `java.*` packages. So Bnd would never include them in the generated Import-Package header. In OSGi Core R7, or later (e.g. [OSGi Core R8](https://docs.osgi.org/specification/osgi.core/8.0.0/framework.module.html#framework.module-execution.environment)), it is now permitted to include `java.*` packages in the Import-Package header. This allows the OSGi framework validate the execution environment can supply all the java packages required by a bundle. This can avoid a `NoClassDefFoundError` during execution of the bundle due to a missing `java.*` package required by the bundle.
1919

20-
Bnd will now generate the Import-Package header including referenced `java.*` packages when either the bundle imports the `org.osgi.framework` package from OSGi 7, or later, or when the bundle includes class files targeting Java 11, or later.
20+
Bnd will now generate the Import-Package header including referenced `java.*` packages when either the bundle imports the `org.osgi.framework` package from OSGi Core R7, or later, or when the bundle includes class files targeting Java 11, or later.
2121

2222
The `-noimportjava` instruction can be used to tell Bnd not to include referenced `java.*` packages in the generated Import-Package header.
2323

0 commit comments

Comments
 (0)