equal
deleted
inserted
replaced
245 } |
245 } |
246 }, CREATE_ADAPTER_INFO_ACC_CTXT); |
246 }, CREATE_ADAPTER_INFO_ACC_CTXT); |
247 } |
247 } |
248 |
248 |
249 private static class AdapterInfo { |
249 private static class AdapterInfo { |
250 private static final ClassAndLoader SCRIPT_OBJECT_LOADER = new ClassAndLoader(ScriptObject.class, true); |
250 private static final ClassAndLoader SCRIPT_OBJECT_LOADER = new ClassAndLoader(ScriptFunction.class, true); |
251 |
251 |
252 private final ClassLoader commonLoader; |
252 private final ClassLoader commonLoader; |
253 // TODO: soft reference the JavaAdapterClassLoader objects. They can be recreated when needed. |
253 // TODO: soft reference the JavaAdapterClassLoader objects. They can be recreated when needed. |
254 private final JavaAdapterClassLoader classAdapterGenerator; |
254 private final JavaAdapterClassLoader classAdapterGenerator; |
255 private final JavaAdapterClassLoader instanceAdapterGenerator; |
255 private final JavaAdapterClassLoader instanceAdapterGenerator; |