Make types public, but constructor package private to work around
the fact that the CT invokes these methods reflectively now without
calling setAccessible().
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1167351 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java b/framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java
index 4a5aa36..513f1e8 100644
--- a/framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/PackageAdminImpl.java
@@ -33,7 +33,7 @@
import org.osgi.service.packageadmin.RequiredBundle;
-class PackageAdminImpl implements PackageAdmin
+public class PackageAdminImpl implements PackageAdmin
{
private static final Comparator COMPARATOR = new Comparator() {
public int compare(Object o1, Object o2)
@@ -46,7 +46,7 @@
private Felix m_felix = null;
- public PackageAdminImpl(Felix felix)
+ PackageAdminImpl(Felix felix)
{
m_felix = felix;
}
diff --git a/framework/src/main/java/org/apache/felix/framework/StartLevelImpl.java b/framework/src/main/java/org/apache/felix/framework/StartLevelImpl.java
index 74fed6f..274ef7e 100644
--- a/framework/src/main/java/org/apache/felix/framework/StartLevelImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/StartLevelImpl.java
@@ -19,7 +19,6 @@
package org.apache.felix.framework;
-import org.osgi.framework.AdminPermission;
import org.osgi.framework.Bundle;
import org.osgi.framework.startlevel.BundleStartLevel;
import org.osgi.framework.startlevel.FrameworkStartLevel;
@@ -33,7 +32,7 @@
{
private final Felix m_felix;
- public StartLevelImpl(Felix felix)
+ StartLevelImpl(Felix felix)
{
m_felix = felix;
}