< prev index next >

modules/javafx.graphics/src/main/java/javafx/concurrent/Task.java

Print this page
rev 10897 : 8199357: Remove references to applets and Java Web Start from FX
Reviewed-by:

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2018, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -1000,11 +1000,11 @@
     }
 
     // Need to assert the modifyThread permission so an app can cancel
     // a task that it created (the default executor for the service runs in
     // its own thread group)
-    // Note that this is needed when running as an applet or a web start app.
+    // Note that this is needed when running with a security manager.
     private static final Permission modifyThreadPerm = new RuntimePermission("modifyThread");
 
     @Override public boolean cancel(boolean mayInterruptIfRunning) {
         // Delegate to the super implementation to actually attempt to cancel this thing
         // Assert the modifyThread permission
< prev index next >