/*
 * Copyright 2018 Nikita Shakarun
 *
 * Licensed 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 javax.microedition.shell;

public class MyCoreClassLoader extends ClassLoader {

	public MyCoreClassLoader(ClassLoader parent) {
		super(parent);
	}

	@Override
	protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
		if (!(name.startsWith("java.") || name.startsWith("javax.") || name.startsWith("com."))) {
			throw new ClassNotFoundException();
		}
		return super.loadClass(name, resolve);
	}
}

@@ -942,16 +942,54 @@
 (%22com.%22)
+%0A%09%09%09%09%7C%7C name.startsWith(%22org.xml.sax%22)
 )) %7B%0A%09%09%09

Fix class loading issue