Add ConfigurationSerializable-Serializable compatibility. Adds BUKKIT-4662

This commit adds a comaptibility layer for use between
ConfigurationSerializable and Java Serializable, such that when using the
Bukkit object streams, any ConfigurationSerializable acts as if it
implements Serializable for purposes of that wrapped stream.

Included are a set of unit tests for the stream with a check for backward
compatibility across versions.

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-04-25 06:06:12 -05:00
parent bdc0f04ee3
commit 9bc7b6277e
5 changed files with 318 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
/**
* Classes used to facilitate stream processing for specific Bukkit concepts.
* <p>
*/
package org.bukkit.util.io;