File tree Expand file tree Collapse file tree 6 files changed +20
-5
lines changed
java.base/share/lib/security
jdk.jsobject/share/classes Expand file tree Collapse file tree 6 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ UPGRADEABLE_PLATFORM_MODULES= \
62
62
java.compiler \
63
63
jdk.graal.compiler \
64
64
jdk.graal.compiler.management \
65
+ jdk.jsobject \
65
66
#
66
67
67
68
PLATFORM_MODULES= \
@@ -79,7 +80,6 @@ PLATFORM_MODULES= \
79
80
jdk.crypto.cryptoki \
80
81
jdk.dynalink \
81
82
jdk.httpserver \
82
- jdk.jsobject \
83
83
jdk.localedata \
84
84
jdk.naming.dns \
85
85
jdk.security.auth \
Original file line number Diff line number Diff line change @@ -167,10 +167,6 @@ grant codeBase "jrt:/jdk.graal.compiler" {
167
167
permission java.security.AllPermission;
168
168
};
169
169
170
- grant codeBase "jrt:/jdk.jsobject" {
171
- permission java.security.AllPermission;
172
- };
173
-
174
170
grant codeBase "jrt:/jdk.localedata" {
175
171
permission java.lang.RuntimePermission "accessClassInPackage.sun.text.*";
176
172
permission java.lang.RuntimePermission "accessClassInPackage.sun.util.*";
Original file line number Diff line number Diff line change 28
28
*
29
29
* @moduleGraph
30
30
* @since 9
31
+ * @deprecated Users are advised to ship the jdk.jsobject module
32
+ * with their application.
31
33
*/
34
+ @ Deprecated (since = "24" , forRemoval = true )
35
+ @ SuppressWarnings ("removal" )
32
36
module jdk .jsobject {
33
37
exports netscape .javascript ;
34
38
}
Original file line number Diff line number Diff line change 30
30
* a marker class to indicate an exception relating to the JavaScript
31
31
* interface.
32
32
* @since 1.5
33
+ * @deprecated Users are advised to ship the jdk.jsobject module
34
+ * with their application.
33
35
*/
36
+ @ Deprecated (since = "24" , forRemoval = true )
37
+ @ SuppressWarnings ("removal" )
34
38
public class JSException extends RuntimeException {
35
39
private static final long serialVersionUID = 2778103758223661489L ;
36
40
Original file line number Diff line number Diff line change 44
44
* engine is converted to JavaScript data types.
45
45
* </p>
46
46
* @since 1.5
47
+ * @deprecated Users are advised to ship the jdk.jsobject module
48
+ * with their application.
47
49
*/
50
+ @ Deprecated (since = "24" , forRemoval = true )
51
+ @ SuppressWarnings ("removal" )
48
52
public abstract class JSObject {
49
53
/**
50
54
* Constructs a new JSObject. Users should neither call this method nor
Original file line number Diff line number Diff line change 24
24
*/
25
25
26
26
/**
27
+ * <p>
28
+ * <b>Deprecated, for removal: This API element is subject to removal
29
+ * in a future version.</b><br>
30
+ * <em>Users are advised to ship the jdk.jsobject module
31
+ * with their application.</em>
32
+ * </p>
33
+ *
27
34
* <p>
28
35
* Provides Java code the ability to access the JavaScript engine and the
29
36
* HTML DOM in the web browser.
You can’t perform that action at this time.
0 commit comments