jdk/src/share/classes/java/lang/Runnable.java
changeset 15647 314007859004
parent 5506 202f599c92aa
child 24865 09b1d992ca72
--- a/jdk/src/share/classes/java/lang/Runnable.java	Fri Feb 08 09:35:14 2013 -0800
+++ b/jdk/src/share/classes/java/lang/Runnable.java	Fri Feb 08 16:00:23 2013 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1994, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 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
@@ -52,8 +52,8 @@
  * @see     java.util.concurrent.Callable
  * @since   JDK1.0
  */
-public
-interface Runnable {
+@FunctionalInterface
+public interface Runnable {
     /**
      * When an object implementing interface <code>Runnable</code> is used
      * to create a thread, starting the thread causes the object's