BUG: ObjectStreamClass.getSerialVersionUID() Is Not JDK 1.1.4 Compatible (285218)
The information in this article applies to:
- Microsoft virtual machine
This article was previously published under Q285218 SYMPTOMS
When the ObjectStreamClass.getSerialVersionUID class is called for an Object array of private classes, the value that is returned differs between the Microsoft virtual machine (Microsoft VM) and Sun Microsystems' JDK 1.1.4 virtual machine. However, when the Object classes are declared public, the same value is returned.
CAUSE
This problem occurs because Class.getModifiers on the Microsoft VM always indicates that the class is public for array classes; however, on the virtual machine that shipped with Sun's JDK 1.1.4, the flags for array types only include the public bit if the underlying base type is public.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbBug kbnofix KB285218 |
---|
|