# HG changeset patch # User smarks # Date 1386180153 0 # Node ID 92f0602be7c2cfcc9d62ac71c6f7e2c3a3e142a4 # Parent 2f8d24dcb6ca55cbecfe7348dfe9739c522b5682 8029141: Add @FunctionalInterface annotation to Callable interface Reviewed-by: chegar, alanb diff -r 2f8d24dcb6ca -r 92f0602be7c2 jdk/src/share/classes/java/util/concurrent/Callable.java --- a/jdk/src/share/classes/java/util/concurrent/Callable.java Wed Dec 04 09:32:26 2013 -0800 +++ b/jdk/src/share/classes/java/util/concurrent/Callable.java Wed Dec 04 18:02:33 2013 +0000 @@ -54,6 +54,7 @@ * @author Doug Lea * @param the result type of method {@code call} */ +@FunctionalInterface public interface Callable { /** * Computes a result, or throws an exception if unable to do so.