Hello,
(sorry for answering to security-dev, I am not subscribed to the others)

the printStackTrace() seems wrong. This will ruin the HTTP Headers produced by returnXXXError() (if it is not too late at that point anyway as the execute() might also write data before).

I also think that if you want to output the stack trace, it should be done inside those two handlers.

BTW: Is somebody really using this?

Greetings
Bernd


Am 27.06.2013, 22:33 Uhr, schrieb <stuart.ma...@oracle.com>:

Changeset: 6729f7ef94cd
Author:    smarks
Date:      2013-06-27 13:35 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6729f7ef94cd

8019224: add exception chaining to RMI CGIHandler
Reviewed-by: darcy

! src/share/classes/sun/rmi/transport/proxy/CGIHandler.java

Reply via email to