NicoK/otp — comment on commit 22f2f433d58d81a6aa519317915ab9ff474fa76b
File: lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java line 105
By vladdu:

The copyOf method is new in Java 6. To support Java 5 it should be

final byte[] tmp = new byte[super.count];
System.arraycopy(super.buf, 0, tmp, 0, super.count);
super.buf = tmp;