[JBoss JIRA] Created: (JBMICROCONT-236) Need a way to update jar suffixes dynamically
by Adrian Brock (JIRA)
Need a way to update jar suffixes dynamically
---------------------------------------------
Key: JBMICROCONT-236
URL: http://jira.jboss.com/jira/browse/JBMICROCONT-236
Project: JBoss MicroContainer
Issue Type: Task
Components: Deployment
Reporter: Adrian Brock
Assigned To: Ales Justin
Fix For: JBossMC-2.0.0.CR1
There should be a way for deployers to automatically update the recognised jar extensions in the JARStructure
in a similar way that implementing FileMatcher updates the FileStructure.
I'd suggest making AbstractParsingDeployerWithOutput have a new property "jarExtension"
and implement a JARMatcher interface.
If the jarExtension is not null then the new jar suffix will be recognised as a subdeployment by the JARStructure.
e.g. an AOP parsing deployer could be configured to have ".aop" as the jar extension,
or .spring for the Spring deployer, etc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBSER-104) When check for Serializable is on, it doesn't serialize Class objects for non-serialializable classes
by Oleg Nitz (JIRA)
When check for Serializable is on, it doesn't serialize Class objects for non-serialializable classes
-----------------------------------------------------------------------------------------------------
Key: JBSER-104
URL: http://jira.jboss.com/jira/browse/JBSER-104
Project: JBoss Serialization
Issue Type: Bug
Affects Versions: 1.0.3 GA
Reporter: Oleg Nitz
Assigned To: Clebert Suconic
The following code
JBossObjectOutputStream out = new JBossObjectOutputStream(outbuf, true);
out.writeObject(List.class);
throws the following wrong exception
java.io.NotSerializableException: java.util.List
at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:344)
at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)
at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
It is wrong since Class implements Serializable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months