• Deployers Ordering Issue Reopened

    Opening 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...
    Profile Photo
    last modified by ropalka
  • ClassInfo::getAnnotations bug

    While 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 ...
    Profile Photo
    last modified by alesj
  • 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...
    Profile Photo
    last modified by alesj
  • Getting to a ClassInfo's ClassLoader

    Ales, 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...
    Profile Photo
    last modified by flavia.rainone
  • 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...
    Profile Photo
    last modified by flavia.rainone
  • m2eclipse or not

    Folks, 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 ...
    Profile Photo
    last modified by thomas.diesler
  • Potential deadlock in ClassLoaderManager

    This code intermittently deadlocks ClassLoaderManager:126 synchronized (toTaskList) { toTaskList.add(0, threadTask); loadTask.nextEvent(); toTaskList.notify(); } I sometimes see this when running the JBoss...
    Profile Photo
    last modified by thomas.diesler
  • DependencyInfo.removeDependsOnMe never called

    https://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...
    Profile Photo
    last modified by thomas.diesler
  • Module adds invalid delegates

    https://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...
    Profile Photo
    last modified by thomas.diesler
  • RequirementDependencyItems can only resolve againt INSTALLED

    https://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...
    Profile Photo
    created by thomas.diesler
  • Adding vargargs parameters to getXXXDeclaredXXX methods at J

    This 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...
    Profile Photo
    last modified by flavia.rainone
  • New ClassPool sub-project; structure

    I 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...
    Profile Photo
    last modified by alesj
  • Added initial support for split packages

    Folks, 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...
    Profile Photo
    last modified by thomas.diesler
  • Circular and self dependencies

    Folks, 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 ...
    Profile Photo
    last modified by thomas.diesler
  • Does ScopeKey need to maintain a sorted (in ScopeLevel.level

    In 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...
    Profile Photo
    last modified by smarlow
  • Parallel deployments

    I'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...
    Profile Photo
    last modified by kabirkhan
  • AccessControlException in AnnotationValueImpl

    I'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...
    Profile Photo
    last modified by kabirkhan
  • Adding annotations to MDR via bean metadata

    I am creating a bean metadata with some annotations added AbstractBeanMetaData metaData = new AbstractBeanMetaData("McBean", McBeanAnnotationsFromMetaData.class.getName()); metaData.setAccessMode(BeanAccessMode.AL...
    Profile Photo
    last modified by kabirkhan
  • Abstract Beans JBKERNEL-10

    I 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...
    Profile Photo
    last modified by marius.bogoevici
  • jar meta-inf/services loader

    I 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...
    Profile Photo
    created by aloubyansky