--- old/src/java.desktop/share/classes/javax/swing/text/MaskFormatter.java 2017-05-18 14:08:20.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/text/MaskFormatter.java 2017-05-18 14:08:19.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2017, 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 @@ -37,11 +37,15 @@ * location in the Document model. The following characters can * be specified: * - * + *
+ * + * * * - * + * * + * + * * * * @@ -66,6 +70,7 @@ * * * + * *
Valid characters and their descriptions
Character 

Description

Description
#Any valid number, uses Character.isDigit.
*Anything.
HAny hex character (0-9, a-f or A-F).
* *