Skip to content

Commit ee1a431

Browse files
committed
PDFBOX-5660: add logging
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929951 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4686262 commit ee1a431

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/compress/COSWriterObjectStream.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ private void writeObject(OutputStream output, COSBase object, boolean topLevel)
191191
writeCOSNull(output);
192192
return;
193193
}
194+
if (base instanceof COSObject)
195+
{
196+
LOG.error("COSObject {} references another COSObject?!", object);
197+
}
194198
}
195199
else
196200
{

0 commit comments

Comments
 (0)