OPENJPA-401

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2007-10-12 15:36:08 +00:00
parent 027c472449
commit 31e436df3c
1 changed files with 1 additions and 1 deletions

View File

@ -188,9 +188,9 @@ public class MappingToolTask
flags.sqlWriter = Files.getWriter(sqlFile, loader);
MultiLoaderClassResolver resolver = new MultiLoaderClassResolver();
resolver.addClassLoader(loader);
resolver.addClassLoader((ClassLoader) AccessController.doPrivileged(
J2DoPrivHelper.getClassLoaderAction(MappingTool.class)));
resolver.addClassLoader(loader);
JDBCConfiguration conf = (JDBCConfiguration) getConfiguration();
conf.setClassResolver(resolver);