[
https://issues.jboss.org/browse/JBIDE-8765?page=com.atlassian.jira.plugin...
]
Snjezana Peco commented on JBIDE-8765:
--------------------------------------
Snjezana, Dima just pointed out to me (and I don't know why I
didn't spot this on first read that adding getResource method
that just calls the same method on super shouldn't fix anything.
Overriding getResource is necessary for the same reason as findClass and loadClass are
overridden.
You can see
http://anonsvn.jboss.org/repos/jbosstools/trunk/hibernatetools/plugins/or...
lines 174-196.
If we don't override findClass and loadClass, the classloader of the plugin that calls
some action will be used and the classes from org.hibernate.eclipse won't be found. If
we don't override getResource, classes will be searched by the classloader from
org.hibernate.eclipse and resources using the classloader of the plugin that called the
action.
If we don't add getResource to the console configuration classloader, it will be
inconsistent. We need to override findClass, loadClass, getResource or nothing of them.
"Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not
found" error with HibernateJpaProject with m2eclipse
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-8765
URL:
https://issues.jboss.org/browse/JBIDE-8765
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.3.0.M1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Attachments: jbide-8765.patch
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira