提交 07269f66 编写于 作者: M mduigou

7028133: Specify serialVersionUID for RegularEnumSet and JumboEnumSet

Reviewed-by: alanb, mduigou
Contributed-by: NNeil Richards <neil.richards@ngmr.net>
上级 5f7ee1d3
...@@ -34,6 +34,8 @@ package java.util; ...@@ -34,6 +34,8 @@ package java.util;
* @serial exclude * @serial exclude
*/ */
class JumboEnumSet<E extends Enum<E>> extends EnumSet<E> { class JumboEnumSet<E extends Enum<E>> extends EnumSet<E> {
private static final long serialVersionUID = 334349849919042784L;
/** /**
* Bit vector representation of this set. The ith bit of the jth * Bit vector representation of this set. The ith bit of the jth
* element of this array represents the presence of universe[64*j +i] * element of this array represents the presence of universe[64*j +i]
......
...@@ -34,6 +34,7 @@ package java.util; ...@@ -34,6 +34,7 @@ package java.util;
* @serial exclude * @serial exclude
*/ */
class RegularEnumSet<E extends Enum<E>> extends EnumSet<E> { class RegularEnumSet<E extends Enum<E>> extends EnumSet<E> {
private static final long serialVersionUID = 3411599620347842686L;
/** /**
* Bit vector representation of this set. The 2^k bit indicates the * Bit vector representation of this set. The 2^k bit indicates the
* presence of universe[k] in this set. * presence of universe[k] in this set.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册