Adding a ByteArrayOutputStream as addAdditionalData to the UninstallData fails when serializing

Description

When adding an java.io.ByteArrayOutputStream object to the com.izforge.izpack.installer.data.UninstallData, com.izforge.izpack.installer.data.UninstallDataWriter.write() fails with a ClassCastException due to a premature cast within the writeAdditionalUninstallData() method.

Environment

None

Assignee

Patrick Reinhart

Reporter

Patrick Reinhart

Impact

Functional - non-breaking and safe in existing environments

Components

Fix versions

Affects versions

Priority

Medium
Configure