[jbosstools-commits] JBoss Tools SVN: r22805 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Tue Jun 15 07:40:38 EDT 2010
Author: vyemialyanchyk
Date: 2010-06-15 07:40:37 -0400 (Tue, 15 Jun 2010)
New Revision: 22805
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
Log:
https://jira.jboss.org/browse/JBIDE-6403 - revert change related with thread current class loader back
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-06-15 08:31:27 UTC (rev 22804)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-06-15 11:40:37 UTC (rev 22805)
@@ -235,7 +235,10 @@
}
protected ClassLoader getParentClassLoader() {
- return ConsoleConfiguration.class.getClassLoader();
+ //Thread.currentThread().setContextClassLoader(ClassLoader.getSystemClassLoader());
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ //ClassLoader cl = ConsoleConfiguration.class.getClassLoader();
+ return cl;
}
public Configuration getConfiguration() {
More information about the jbosstools-commits
mailing list