I removed this segment in PDFCloneUtility.java:
else if( base instanceof List )
{
COSArray array = new COSArray();
List<?> list = (List<?>) base;
for (Object obj : list)
{
array.add(cloneForNewDocument(obj));
}
((List<COSArray>) target).add(array);
}
base is of type COSObjectable. This is never instanceof List.
COSArrayList can be a List, but isn't a COSObjectable.
I mention this here just in case there's a flaw in my logic :-)
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]