/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.jena.osgi;

import org.apache.jena.system.JenaSubsystemRegistry;
import org.apache.jena.system.JenaSubsystemRegistryBasic;
import org.apache.jena.system.JenaSystem;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

// Sample bundle activator explicitly calling the static Jena initialization.
public class Activator implements BundleActivator {

	public void start(BundleContext context) throws Exception {

		JenaSubsystemRegistry r = new JenaSubsystemRegistryBasic() {
			@Override
			public void load() {
				super.load();
			}
		};
		JenaSystem.setSubsystemRegistry(r);
		JenaSystem.DEBUG_INIT = true;
		JenaSystem.init();
		System.out.println("Jena-OSGi bundle configuration done!");
	}

	public void stop(BundleContext context) throws Exception {

	}
}

@@ -835,119 +835,8 @@
 i;%0A%0A
-import org.apache.jena.system.JenaSubsystemRegistry;%0Aimport org.apache.jena.system.JenaSubsystemRegistryBasic;%0A
 impo
@@ -1090,16 +1090,30 @@
 tor %7B%0A%0A%09
+@Override%0A    
 public v
@@ -1168,295 +1168,48 @@
 n %7B%0A
-%0A
 %09%09JenaS
-ubs
 ystem
-Registry r = new JenaSubsystemRegistryBasic() %7B%0A%09%09%09@Override%0A%09%09%09public void load() %7B%0A%09%09%09%09super.load();%0A%09%09%09%7D%0A%09%09%7D;%0A%09%09JenaSystem.setSubsystemRegistry(r);%0A%09%09JenaSystem.DEBUG_INIT = true;%0A%09%09JenaSystem.init();%0A%09%09System.out.println(%22Jena-OSGi bundle configuration done!%22);%0A%09%7D%0A%0A%09
+.init();%0A%09%7D%0A%0A%09@Override%0A    
 publ

Remove logging. Remove extended JenaSubsystemRegistryBasic