@@ -0,0 +1,834 @@
+package org.objenesis;%0A%0Aimport org.junit.Test;%0A%0Aimport java.io.*;%0Aimport java.util.ArrayList;%0A%0A/**%0A * This test makes sure an issue mentioned is not occurring.%0A * @author Henri Tremblay%0A */%0Apublic class ExternalizableTest %7B%0A%0A    public static class A extends ArrayList%3CString%3E implements Externalizable %7B%0A%0A        public A() %7B%0A        %7D%0A%0A        @Override%0A        public void writeExternal(ObjectOutput out) throws IOException %7B%0A%0A        %7D%0A%0A        @Override%0A        public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException %7B%0A%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void test() %7B%0A        A a = ObjenesisHelper.newSerializableInstance(A.class);%0A        // This call should work because the ArrayList constructor as been called. This is required by A implementing Externalizable%0A        a.add(%22Test%22);%0A    %7D%0A%7D%0A

Add a specific test for externalizable