8255262: Remove use of legacy custom @spec tag

Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
This commit is contained in:
Jonathan Gibbons 2020-10-22 19:42:01 +00:00
parent a0b687bfb2
commit 0aa3c92577
69 changed files with 0 additions and 209 deletions

View file

@ -372,7 +372,6 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION;
* @see ResourceBundleProvider
* @since 1.1
* @revised 9
* @spec JPMS
*/
public abstract class ResourceBundle {
@ -893,7 +892,6 @@ public abstract class ResourceBundle {
* if this method is called in a named module
* @since 1.6
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static final ResourceBundle getBundle(String baseName,
@ -953,7 +951,6 @@ public abstract class ResourceBundle {
* specified module
* @return a resource bundle for the given base name and the default locale
* @since 9
* @spec JPMS
* @see ResourceBundleProvider
* @see <a href="#default_behavior">Resource Bundle Search and Loading Strategy</a>
* @see <a href="#resource-bundle-modules">Resource Bundles and Named Modules</a>
@ -1007,7 +1004,6 @@ public abstract class ResourceBundle {
* be found in the specified {@code module}
* @return a resource bundle for the given base name and locale in the module
* @since 9
* @spec JPMS
* @see <a href="#default_behavior">Resource Bundle Search and Loading Strategy</a>
* @see <a href="#resource-bundle-modules">Resource Bundles and Named Modules</a>
*/
@ -1056,7 +1052,6 @@ public abstract class ResourceBundle {
* if this method is called in a named module
* @since 1.6
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static final ResourceBundle getBundle(String baseName, Locale targetLocale,
@ -1270,7 +1265,6 @@ public abstract class ResourceBundle {
* if no resource bundle for the specified base name can be found
* @since 1.2
* @revised 9
* @spec JPMS
* @see <a href="#resource-bundle-modules">Resource Bundles and Named Modules</a>
*/
@CallerSensitive
@ -1496,7 +1490,6 @@ public abstract class ResourceBundle {
* if this method is called in a named module
* @since 1.6
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static ResourceBundle getBundle(String baseName, Locale targetLocale,
@ -2234,7 +2227,6 @@ public abstract class ResourceBundle {
*
* @since 1.6
* @revised 9
* @spec JPMS
* @see ResourceBundle.Control#getTimeToLive(String,Locale)
*/
@CallerSensitive
@ -2524,7 +2516,6 @@ public abstract class ResourceBundle {
*
* @since 1.6
* @revised 9
* @spec JPMS
* @see java.util.spi.ResourceBundleProvider
*/
public static class Control {
@ -3154,7 +3145,6 @@ public abstract class ResourceBundle {
* any I/O operations
* @see java.util.spi.ResourceBundleProvider#getBundle(String, Locale)
* @revised 9
* @spec JPMS
*/
public ResourceBundle newBundle(String baseName, Locale locale, String format,
ClassLoader loader, boolean reload)

View file

@ -387,7 +387,6 @@ import jdk.internal.reflect.Reflection;
* @author Mark Reinhold
* @since 1.6
* @revised 9
* @spec JPMS
*/
public final class ServiceLoader<S>
@ -437,7 +436,6 @@ public final class ServiceLoader<S>
*
* @param <S> The service type
* @since 9
* @spec JPMS
*/
public static interface Provider<S> extends Supplier<S> {
/**
@ -1352,7 +1350,6 @@ public final class ServiceLoader<S>
* service
*
* @revised 9
* @spec JPMS
*/
public Iterator<S> iterator() {
@ -1442,7 +1439,6 @@ public final class ServiceLoader<S>
* @return A stream that lazily loads providers for this loader's service
*
* @since 9
* @spec JPMS
*/
public Stream<Provider<S>> stream() {
// use cached providers as the source when all providers loaded
@ -1639,7 +1635,6 @@ public final class ServiceLoader<S>
* not declare that it uses {@code service}
*
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static <S> ServiceLoader<S> load(Class<S> service,
@ -1685,7 +1680,6 @@ public final class ServiceLoader<S>
* not declare that it uses {@code service}
*
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static <S> ServiceLoader<S> load(Class<S> service) {
@ -1721,7 +1715,6 @@ public final class ServiceLoader<S>
* not declare that it uses {@code service}
*
* @revised 9
* @spec JPMS
*/
@CallerSensitive
public static <S> ServiceLoader<S> loadInstalled(Class<S> service) {
@ -1774,7 +1767,6 @@ public final class ServiceLoader<S>
* not declare that it uses {@code service}
*
* @since 9
* @spec JPMS
*/
@CallerSensitive
public static <S> ServiceLoader<S> load(ModuleLayer layer, Class<S> service) {
@ -1803,7 +1795,6 @@ public final class ServiceLoader<S>
* specified in the <a href="#errors">Errors</a> section above.
*
* @since 9
* @spec JPMS
*/
public Optional<S> findFirst() {
Iterator<S> iterator = iterator();

View file

@ -109,7 +109,6 @@ import java.util.stream.StreamSupport;
* @author Mark Reinhold
* @author JSR-51 Expert Group
* @since 1.4
* @spec JSR-51
*/
public final class Matcher implements MatchResult {

View file

@ -771,7 +771,6 @@ import jdk.internal.util.ArraysSupport;
* @author Mark Reinhold
* @author JSR-51 Expert Group
* @since 1.4
* @spec JSR-51
*/
public final class Pattern

View file

@ -31,7 +31,6 @@ package java.util.regex;
*
* @author unascribed
* @since 1.4
* @spec JSR-51
*/
public class PatternSyntaxException

View file

@ -83,7 +83,6 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION;
* @see <a href="../ResourceBundle.html#resource-bundle-modules">
* Resource Bundles and Named Modules</a>
* @since 9
* @spec JPMS
*/
public abstract class AbstractResourceBundleProvider implements ResourceBundleProvider {
private static final JavaUtilResourceBundleAccess RB_ACCESS =

View file

@ -45,7 +45,6 @@ import java.util.ResourceBundle;
* @author Masayoshi Okutsu
* @since 1.8
* @revised 9
* @spec JPMS
* @see ResourceBundle#getBundle(String, java.util.Locale, ClassLoader, ResourceBundle.Control)
* ResourceBundle.getBundle
* @see java.util.ServiceLoader#load(Class)

View file

@ -141,7 +141,6 @@ import java.util.ResourceBundle;
* Resource Bundles and Named Modules</a>
* @see java.util.ServiceLoader
* @since 9
* @spec JPMS
*/
public interface ResourceBundleProvider {
/**