8165103: Update to "denyAfter constraint check" exception message

Valerie Peng valerie.peng at oracle.com
Wed Oct 5 23:58:36 UTC 2016

Instead of duplicating the if-check block, how about just add another 
String variable "dateType" and assign value to it in the first if-check 
Rest looks fine.

On 10/5/2016 1:20 PM, Anthony Scarpino wrote:
> Hi,
> I'd like a review of this change away from a generic error messages in 
> the denyAfter constraint.  The message better specify which date was 
> checked against the constraint now. Testing is handled elsewhere.
> http://cr.openjdk.java.net/~ascarpino/8165103/webrev/
> Tony

More information about the security-dev mailing list