Repository: commons-compress Updated Branches: refs/heads/master d5867f185 -> 587430df7
properly make UnsupportedZipFeatureException Serializable Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/587430df Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/587430df Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/587430df Branch: refs/heads/master Commit: 587430df734ed479175bd81377f096be81127b3c Parents: 5294726 Author: Stefan Bodewig <[email protected]> Authored: Mon Dec 19 18:40:29 2016 +0100 Committer: Stefan Bodewig <[email protected]> Committed: Mon Dec 19 18:42:11 2016 +0100 ---------------------------------------------------------------------- .../compress/archivers/zip/UnsupportedZipFeatureException.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/587430df/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java b/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java index a808c51..6756f50 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.java @@ -28,8 +28,8 @@ import java.util.zip.ZipException; public class UnsupportedZipFeatureException extends ZipException { private final Feature reason; - private final ZipArchiveEntry entry; - private static final long serialVersionUID = 20130101L; + private transient final ZipArchiveEntry entry; + private static final long serialVersionUID = 20161219L; /** * Creates an exception. @@ -92,7 +92,7 @@ public class UnsupportedZipFeatureException extends ZipException { * ZIP Features that may or may not be supported. * @since 1.1 */ - public static class Feature { + public static class Feature implements java.io.Serializable { /** * The entry is encrypted. */
