File tree Expand file tree Collapse file tree
src/java.base/share/classes/java/lang Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2009, 2013 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2009, 2021 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -54,7 +54,8 @@ public interface AutoCloseable {
5454 * This method is invoked automatically on objects managed by the
5555 * {@code try}-with-resources statement.
5656 *
57- * <p>While this interface method is declared to throw {@code
57+ * @apiNote
58+ * While this interface method is declared to throw {@code
5859 * Exception}, implementers are <em>strongly</em> encouraged to
5960 * declare concrete implementations of the {@code close} method to
6061 * throw more specific exceptions, or to throw no exception at all
You can’t perform that action at this time.
0 commit comments