Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1052204 - [GSS] (6.3.0) Protocol incompatibility between serializable classes with different non-serializable superclasses
[GSS] (6.3.0) Protocol incompatibility between serializable classes with diff...
Status: CLOSED CURRENTRELEASE
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Remoting (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: DR0
: EAP 6.3.0
Assigned To: Brad Maxwell
Jitka Kozana
Russell Dickenson
:
: 1052208 (view as bug list)
Depends On:
Blocks: 1032312 1050791
  Show dependency treegraph
 
Reported: 2014-01-13 08:46 EST by Brad Maxwell
Modified: 2014-08-11 22:08 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6 an exception could be thrown when IBM and Oracle JVMs communicate by serializing a `StringBuilder` or `StringBuffer` class. This was caused by the marshalling protocol erroneously serializing a class descriptor for the first non-serializable superclass of a serializable class. This issue has been resolved in this version of the product with an upgrade to the JBoss Marshalling component.
Story Points: ---
Clone Of: 1032312
Environment:
Last Closed: 2014-06-28 11:28:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker JBMAR-156 Major Resolved Protocol incompatibility between serializable classes with different non-serializable superclasses 2018-01-29 16:15 EST

  None (edit)
Description Brad Maxwell 2014-01-13 08:46:30 EST
+++ This bug was initially created as a clone of Bug #1032312 +++

Protocol versions up to 3 of the River marshalling protocol erroneously serialize a class descriptor for the first non-serializable superclass of a serializable class.

This manifests itself particularly when an IBM JVM and a Sun JVM communicate by serializing a StringBuilder or StringBuffer class. The Sun JDK contains a shared superclass called AbstractStringBuilder which is not present in IBM's version.

In version 4 the stream should be marked with a NULL when the first non-serializable class is hit.  For version 3 though we can just mark it with java.lang.Object because that is also a single byte and should work as well (in 1.4 at least, this class is only used to detect the end of the chain; it is not used to make decisions about what constructor to invoke).  Only the sender needs to change; the receiver should continue functioning.

--- Additional comment from Brad Maxwell on 2013-11-19 19:24:47 EST ---

Fixed in JBoss Marshalling 1.4.3
Comment 1 Brad Maxwell 2014-01-13 08:55:05 EST
*** Bug 1052208 has been marked as a duplicate of this bug. ***
Comment 3 Kabir Khan 2014-04-04 10:49:04 EDT
Setting to ON_QA since upgrade should fix this
Comment 4 Jitka Kozana 2014-04-30 08:36:13 EDT
Fixed by component upgrade, verified.
Comment 5 sgilda 2014-05-12 16:05:19 EDT
Changed <literal></literal> tags in Doc Text to ticks (`) to fix Bug 1096865
Comment 6 sgilda 2014-05-13 07:14:09 EDT
Fix release note text as reported by bug 1097163.

Note You need to log in before you can comment on or make changes to this bug.