Mercurial > hg > release > icedtea7-forest-2.6 > jaxp
changeset 1465:f331098c637a icedtea-2.6.16
Merge jdk7u201-b00
author | andrew |
---|---|
date | Mon, 22 Oct 2018 06:22:48 +0100 |
parents | 1656c5cd9af5 (current diff) 4780cb4b1ff8 (diff) |
children | d2c92d21d36f |
files | .hgtags src/com/sun/org/apache/xerces/internal/jaxp/datatype/XMLGregorianCalendarImpl.java |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Mon Oct 22 04:45:25 2018 +0100 +++ b/.hgtags Mon Oct 22 06:22:48 2018 +0100 @@ -693,3 +693,4 @@ 7edc1ac946838379341ef046d8787ada2bf818e4 jdk7u191-b01 cc7a216781499aebc3a406fab47f64dc0af06856 jdk7u191-b02 5dc90bd920db2cf5627c50886fc582cf3c17def8 icedtea-2.6.15 +0c33ad53c77b27402900edbc65c9fca3e2fd667e jdk7u201-b00
--- a/src/com/sun/org/apache/xerces/internal/jaxp/datatype/XMLGregorianCalendarImpl.java Mon Oct 22 04:45:25 2018 +0100 +++ b/src/com/sun/org/apache/xerces/internal/jaxp/datatype/XMLGregorianCalendarImpl.java Mon Oct 22 06:22:48 2018 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -189,6 +189,7 @@ * @version $Revision: 1.14 $, $Date: 2010-11-10 07:41:41 $ * @see javax.xml.datatype.Duration * @since 1.5 + * @LastModified: June 2018 */ public class XMLGregorianCalendarImpl @@ -2727,7 +2728,7 @@ if ((fractional.compareTo(DECIMAL_ZERO) < 0) || (fractional.compareTo(DECIMAL_ONE) > 0)) { throw new IllegalArgumentException(DatatypeMessageFormatter.formatMessage(null, - "InvalidFractional", new Object[]{fractional})); + "InvalidFractional", new Object[]{fractional.toString()})); } } this.fractionalSecond = fractional;