< prev index next >
modules/graphics/src/main/java/javafx/application/HostServices.java
Print this page
rev 9802 : 8156963: Add @Deprecated annotation to HostServices.getWebContext method
Reviewed-by:
*** 1,7 ****
/*
! * Copyright (c) 2011, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2011, 2016, 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
*** 148,158 ****
--- 148,162 ----
* </pre>
* </ul>
*
* @return handle of the enclosing DOM window of the web page containing
* this application
+ *
+ * @deprecated This method is deprecated as of JDK 9 because the
+ * {@link java.applet.Applet Applet} API is deprecated.
*/
+ @Deprecated // FIXME: (since = "9")
public final JSObject getWebContext() {
return delegate.getWebContext();
}
}
< prev index next >