Re: ConstantPool.dump + new ConstantPool(DataInputStream) usually don't work.

2021-02-10 Thread Gary Gregory
Hi Marcus, May you please provide this as a PR on GitHub? Gary On Wed, Feb 10, 2021, 09:27 Marcus Engene wrote: > Hi, > > I get an EOFException here. ConstantPool.dump() does not write the null > entries in Constant[], which is fine, but it writes the size of the > array first so the Constant

ConstantPool.dump + new ConstantPool(DataInputStream) usually don't work.

2021-02-10 Thread Marcus Engene
Hi, I get an EOFException here. ConstantPool.dump() does not write the null entries in Constant[], which is fine, but it writes the size of the array first so the ConstantPool constructior gets confused. @Test public void serializeConstantPool()throws IOException { ConstantPoolGen cpg =n