Skip to content

Instantly share code, notes, and snippets.

View jumperchen's full-sized avatar

Jumper Chen jumperchen

View GitHub Profile
@jumperchen
jumperchen / Serialization.java
Created May 29, 2015 09:59
Javassist with JDK 8 serialization issue
package issue;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.lang.reflect.Method;
import javassist.util.proxy.MethodFilter;
@jumperchen
jumperchen / ForEachVM.java
Created May 6, 2015 05:01
ZK 8-RC Performance Testing
package org.zkoss.test;
import java.util.Collections;
import java.util.List;
public class ForEachVM {
private List<Integer> array = Collections.nCopies(30, 30);
public void setArray(List<Integer> array) {}
public List<Integer> getArray() {
return array;