Skip to content

Commit

Permalink
Fix org.osgi.framework.BundleException when run core/osgi/ActivatorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorespert committed Nov 1, 2019
1 parent c67e1b6 commit aa4ec76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/core.osgi/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
is.autoload=true
javac.source=1.6
javac.source=1.8
javac.compilerargs=-Xlint -Xlint:-serial
cp.extra=\
${nb_all}/platform/libs.osgi/external/osgi.core-7.0.0.jar:\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private Iterable<Bundle> bundles() {
// Sort framework last so since in Felix 4 its loadClass will search app classpath, causing test failures.
// (Tried to disable this using various framework config properties without success.)
return NbCollections.iterable(Enumerations.concat(Enumerations.filter(Enumerations.array(bundles), new Enumerations.Processor<Bundle,Bundle>() {
public @Override Bundle process(Bundle b, Collection<Bundle> _) {
public @Override Bundle process(Bundle b, Collection<Bundle> c) {
if (b.getBundleId() == 0) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void testClassPathExtensions() throws Exception {
.manifest(
"OpenIDE-Module: custom",
"OpenIDE-Module-Install: custom.Install",
"OpenIDE-Module-Module-Dependencies: org.openide.modules, org.netbeans.libs.jna/1")
"OpenIDE-Module-Module-Dependencies: org.openide.modules, org.netbeans.libs.jna/2")
.done()
.module("org.netbeans.libs.jna")
.run(false);
Expand Down

0 comments on commit aa4ec76

Please sign in to comment.