diff -r 33de7752835c -r 94bb65cb37d3 src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java --- a/src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java Fri Sep 20 11:33:30 2019 +0800 +++ b/src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java Fri Sep 20 11:07:52 2019 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2019, 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 @@ -63,9 +63,9 @@ * @param locale the desired locale * @return the symbol of the given currency code for the specified locale, or null if * the symbol is not available for the locale - * @exception NullPointerException if currencyCode or + * @throws NullPointerException if currencyCode or * locale is null - * @exception IllegalArgumentException if currencyCode is not in + * @throws IllegalArgumentException if currencyCode is not in * the form of three upper-case letters, or locale isn't * one of the locales returned from * {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() @@ -84,12 +84,12 @@ * @param locale the desired locale * @return the name for the currency that is appropriate for display to the * user, or null if the name is not available for the locale - * @exception IllegalArgumentException if currencyCode is not in + * @throws IllegalArgumentException if currencyCode is not in * the form of three upper-case letters, or locale isn't * one of the locales returned from * {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() * getAvailableLocales()}. - * @exception NullPointerException if currencyCode or + * @throws NullPointerException if currencyCode or * locale is null * @since 1.7 */