Default ClassPool is used to represent bootstrap class loader
-------------------------------------------------------------
Key: JBREFLECT-94
URL:
https://jira.jboss.org/jira/browse/JBREFLECT-94
Project: JBoss Reflection
Issue Type: Bug
Components: Class Pool
Affects Versions: JBossReflection.2.2.0-Alpha2
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Fix For: JBossReflection.2.2.0-Beta
Default ClassPool has the following drawbacks:
- getClassLoader() returns the context class loader
- ScopedClassPoolRepositoryImpls adds the context class loader to the default class pool
class path
Using DefaultClassPool to represent bootstrap class loader is not working. It will be
able of loading classes belonging to the bootstrap classpath, but it will also be able of
loading several other classes, depending on what is the value of the context class loader
at the moment getClassLoader is invoked and at the moment
ScopedClassPoolRepositoryImpl's constructor is executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: