Log in to follow, share, and participate in this community.
Thread Deployers Ordering Issue Reopened
Deployers Ordering Issue ReopenedOpening discussion to public "alesj" wrote: Hmmm ... I think the pattern is too simplistic. Or too non-deterministic. The problem is that once we fill in initial relations, we check for transitions, but details li...
ClassInfo::getAnnotations bugWhile doing annotation scanning on top of Reflect, I stumbled upon what seems to me an invalid impl of how we get annotations of the class. ClassInfoImpl uses InheritableAnnotationHolder who's getAnnotations returns ...
Missing VirtualFile::isFile?What was the reason again the we don't have VirtualFile::isFile method? OK, VirtualFile::isLeaf makes complete sense, as you would like to diff jars vs. plain files. But having VirtualFile::isFile would be useful. M...
Getting to a ClassInfo's ClassLoaderAles, Currently, whenever I need to get to the ClassLoader of a ClassInfo object, I use geType().getClassLoader(). The point is that getType is deprecated. Is there any other way of getting the ClassInfo's classloade...
ModifierInfo: enum or interface?When running the deployers-vfs tests against the trunk version of jboss-reflect, I stumbled accross a few failures related to ModifierInfo class. It looks like those failures were introduced when ModifierInfo interfa...
m2eclipse or notFolks, I'm wondering if there is a convention on whether MC projects should use http://m2eclipse.sonatype.org/ or not. I personally prefer m2eclipse over other (less dynamic) classpath config mechanisms like this ...
Potential deadlock in ClassLoaderManagerThis code intermittently deadlocks ClassLoaderManager:126
synchronized (toTaskList)
{
toTaskList.add(0, threadTask);
loadTask.nextEvent();
toTaskList.notify();
}
I sometimes see this when running the JBoss...
Thread DependencyInfo.removeDependsOnMe never called
DependencyInfo.removeDependsOnMe never calledhttps://jira.jboss.org/jira/browse/JBCL-119 Consider this BundleA exports A BundleB imports A #1 install BundleA #2 install/start BundleB #3 uninstall BundleB The DependencyInfo of BundleA holds a dependsOnMe e...
Module adds invalid delegateshttps://jira.jboss.org/jira/browse/JBCL-115 Consider this use case ExportImportPackageUnitTestCase.testSelfImportPackage
Bundle-Name: BundleB
Bundle-SymbolicName: org.jboss.test.osgi.classloader.bundleB
Export-Pa...
Thread RequirementDependencyItems can only resolve againt INSTALLED
RequirementDependencyItems can only resolve againt INSTALLEDhttps://jira.jboss.org/jira/browse/JBCL-113 The RequirementDependencyItem is constructed like this
/**
* Create a new RequirementDependencyItem.
*
* @param module the module
* @param requirement the requireme...
Thread Adding vargargs parameters to getXXXDeclaredXXX methods at J
Adding vargargs parameters to getXXXDeclaredXXX methods at JThis post is related to issue JBREFLECT-53. As result of implementing JBREFLECT-53, I noticed that MutableClassInfo now has two similar getDeclaredMethod methods:
MutableMethodInfo getDeclaredMethod(String name, Ty...
New ClassPool sub-project; structureI did a quick look at the jboss-classpool. - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-classpool/ It looks like a big mess. :-) I don't know enough about how it's actually implemented, to properly say wh...
Added initial support for split packagesFolks, this relates to https://jira.jboss.org/jira/browse/JBCL-25 What I've basically done is make the generated error dependent on the the SplitPackagePolicy, which can be configured at at PackageCapability
Mod...
Circular and self dependenciesFolks, I am looking at https://jira.jboss.org/jira/browse/JBCL-24 which may be possible to fix in the classloading module alone. However I needed to make a trivial fix to the the Abstract controller in dependency ...
Thread Does ScopeKey need to maintain a sorted (in ScopeLevel.level
Does ScopeKey need to maintain a sorted (in ScopeLevel.levelIn my quest to understand the MC internals and help make improvements. I'm looking at ScopeKey and wondering what would happen if an unordered collection was used internally (with adjustments made to isParent() of cou...
Parallel deploymentsI've started taking a look at parallel deployments. My initial idea was to wrap the full install process in a separate thread, by modifying the following method in AbstractController
protected void install(Control...
Thread AccessControlException in AnnotationValueImpl
AccessControlException in AnnotationValueImplI'm able to run the org.jboss.test.kernel.annotations.test.override.XXXOverrideXMLTestCase tests from the command-line, but when I try from my IDE I get the following exception. I'm not sure why it works in one enviro...
Thread Adding annotations to MDR via bean metadata
Adding annotations to MDR via bean metadataI am creating a bean metadata with some annotations added
AbstractBeanMetaData metaData = new AbstractBeanMetaData("McBean", McBeanAnnotationsFromMetaData.class.getName());
metaData.setAccessMode(BeanAccessMode.AL...
Abstract Beans JBKERNEL-10I added a prototype (read partial) implementation for Abstract Beans, and uploaded the patch in Jira (JBKERNEL-10). What I did was: - introduce a new ControllerMode called ABSTRACT - install abstract beans as contro...
jar meta-inf/services loaderI am not sure where this should live. I am also not sure whether we need this in Java 5? I found the requirement to use this in Servlet 3.0 spec, at least. In Java 6 there is http://java.sun.com/javase/6/docs/api/java...