Answer requested!!! was: Re: 7081804: Remove cause field from javax.xml.crypto.NoSuchMechnismException (original) (raw)

Sean Mullan sean.mullan at oracle.com
Fri Dec 9 16:07:18 UTC 2011


On 12/6/11 3:48 PM, Sebastian Sickelmann wrote:

Am 05.12.2011 19:06, schrieb Sean Mullan:

On 12/2/11 11:02 AM, Sean Mullan wrote:

[0] Solution 1 http://dl.dropbox.com/u/43692695/oss-patches/openjdk8/NoSuchMechanismException/70118044/index.html [1] Solution 2 http://dl.dropbox.com/u/43692695/oss-patches/openjdk8/NoSuchMechanismException/70118046/index.html I definitely prefer solution 2. Just a few minor comments: - Use the javadoc @inheritDoc tag instead of copying the javadoc for the initCause method. - PreventOverridingOfChaining lines 68, 71: what do these comments mean? one additional test that would be useful to add would be to call initCause twice for those ctors that don't have a Throwable parameter, and make sure initCause throws IllegalStateExc. --Sean Updated the webrev[2] to include your review. [2] http://dl.dropbox.com/u/43692695/oss-patches/openjdk8/NoSuchMechanismException/70118047/index.html

You didn't add the additional test that I thought would be useful - are you going to add that? Otherwise, it looks good.

--Sean



More information about the core-libs-dev mailing list