[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: StructureContext and candidate annotations
adrian@jboss.org
do-not-reply at jboss.com
Tue Aug 5 10:35:34 EDT 2008
While doing this code, I noticed there was a bug in FileStructure.
It goes to some effort to set a flag called "isFile"
but the bug was it added the file as a subdeployment regardless
of whether that flag was set.
This probably doesn't cause any problems since nothing will recognise
the file for metadata purposes and it has no classpath, but it is obviously
stupid.
The patch is pretty simple:
|
| // Create a context info for this file
| + if (isFile)
| context = createContext(structureContext);
| // There are no subdeployments for files
| if (trace)
| log.trace(file + " isFile: " + isFile);
| return isFile;
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168777#4168777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168777
More information about the jboss-dev-forums
mailing list