Commit d8cb3322 authored by Petri Hintukainen's avatar Petri Hintukainen

Check for privileged context

parent c289eac1
......@@ -34,6 +34,7 @@ import;
import org.videolan.BDJClassFileTransformer;
import org.videolan.BDJClassLoaderAdapter;
import org.videolan.BDJXletContext;
import org.videolan.Logger;
......@@ -60,6 +61,10 @@ public class Adapter implements BDJClassLoaderAdapter {
public Adapter() throws ClassNotFoundException {
if (BDJXletContext.getCurrentContext() != null)
throw new ClassNotFoundException();
/* relocate classes to avoid runtime package collisions */
final String s1 = "org/videolan/mmbd/Adapter$Xlet";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment