jdk/src/share/classes/java/lang/AutoCloseable.java
changeset 15647 314007859004
parent 10347 1c9efe1ec7d3
child 19798 b627a06c30ed
--- a/jdk/src/share/classes/java/lang/AutoCloseable.java	Fri Feb 08 09:35:14 2013 -0800
+++ b/jdk/src/share/classes/java/lang/AutoCloseable.java	Fri Feb 08 16:00:23 2013 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2013, 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
@@ -31,6 +31,7 @@
  * @author Josh Bloch
  * @since 1.7
  */
+@FunctionalInterface
 public interface AutoCloseable {
     /**
      * Closes this resource, relinquishing any underlying resources.