private void doEvictionAction() throws IOException, ClassNotFoundException {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();

    try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {
      oos.writeObject(EvictionAction.NONE);
    }

    try (ObjectInputStream ois =
        new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()))) {
      ois.readObject();
    }
  }
Asserts fixes for bug JDK-8076152 in JDK 1.8.0u20 to 1.8.0.u45.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8076152

The JVM crashes when hotspot compiling a method that uses an array consisting of objects of a
base class when different child classes is used as actual instance objects AND when the array is
constant (declared final). The crash occurs during process of the aaload byte code.

This test and its corrections can be removed after the release of JDK 1.8.0u60 if we choose to
not support 1.8.0u20 - 1.8.0u45 inclusive.

<p>
TRAC #52289: HotSpot SIGSEGV in C2 CompilerThread1 (LoadNode::Value(PhaseTransform*) const+0x202)
with JDK 1.8.0_45

@since GemFire 8.2
geode-core/src/test/java/org/apache/geode/cache/FinalStaticArrayShouldNotCauseSegFaultRegressionTest.java