-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b03
-
b15
-
generic, x86
-
generic, windows_xp
-
Verified
The following test is failed when reading object:
boolean[] array = new byte[] {true, false};
ByteArrayOutputStream output = new ByteArrayOutputStream();
XMLEncoder encoder = new XMLEncoder( output );
encoder.writeObject( array );
encoder.close();
ByteArrayInputStream input = new ByteArrayInputStream( output.toByteArray() );
XMLDecoder decoder = new XMLDecoder( input );
Object object = decoder.readObject();
decoder.close();
boolean[] array = new byte[] {true, false};
ByteArrayOutputStream output = new ByteArrayOutputStream();
XMLEncoder encoder = new XMLEncoder( output );
encoder.writeObject( array );
encoder.close();
ByteArrayInputStream input = new ByteArrayInputStream( output.toByteArray() );
XMLDecoder decoder = new XMLDecoder( input );
Object object = decoder.readObject();
decoder.close();
- duplicates
-
JDK-6501810 xml_schema/nisttest/base64Binary and hexBinary: 75 tests fail with ClassNotFoundException
- Closed
- relates to
-
JDK-4452032 Potential wrong use of Class.forName
- Closed
-
JDK-6582164 JavaBeans tests should be open source
- Resolved