Skip to content

Commit c9ff8e7

Browse files
gurkerl83gurkerl83
and
gurkerl83
authored
Do not expect package com.oracle.svm at OSGi runtime (#699)
In the current build process, some SVM substitutions got integrated to generate a native-image of the library. From an OSGi perspective, the integration of Oracles, respectively, Graal's substrate dependency causes an unintentional statement in the manifest.mf of the build result expecting a package called com.oracle.svm. This pull request adjusts the osgi.bnd file to avoid the com.oracle.svm package from being required when the bundle gets executed in an OSGi runtime. Expose also drivers internal package Libraries such as neo4j-ogm and its modules neo4j-ogm-bolt-driver and neo4j-ogm-bolt-native-types require access to the internal package of the neo4j java driver. To hide the internal package from the outside world classes used in neo4j-ogm such as InternalBookmark, Scheme has to be relocated to different package in further refactoring. For now, in OSGi work with neo4j-ogm and the bolt driver, especially the entire internal module, has to be exposed. Co-authored-by: gurkerl83 <[email protected]>
1 parent a3cd00d commit c9ff8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/osgi.bnd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package-version=${version;===;${Bundle-Version}}
22

33
Export-Package: \
4-
!*.internal.*, \
54
*;version="${package-version}"
65

76
Import-Package: \
87
!io.netty.*, \
8+
!com.oracle.svm.*, \
99
javax.security.cert, \
1010
*
1111

0 commit comments

Comments
 (0)