File tree 7 files changed +22
-10
lines changed
java.base/share/lib/security
jdk.jsobject/share/classes
7 files changed +22
-10
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 1
1
/*
2
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
28
28
*
29
29
* @moduleGraph
30
30
* @since 9
31
+ * @deprecated The jdk.jsobject module will be delivered with JavaFX.
31
32
*/
33
+ @ Deprecated (since = "24" , forRemoval = true )
34
+ @ SuppressWarnings ("removal" )
32
35
module jdk .jsobject {
33
36
exports netscape .javascript ;
34
37
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2006, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2006, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
30
30
* a marker class to indicate an exception relating to the JavaScript
31
31
* interface.
32
32
* @since 1.5
33
+ * @deprecated The jdk.jsobject module will be delivered with JavaFX.
33
34
*/
35
+ @ Deprecated (since = "24" , forRemoval = true )
36
+ @ SuppressWarnings ("removal" )
34
37
public class JSException extends RuntimeException {
35
38
private static final long serialVersionUID = 2778103758223661489L ;
36
39
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2006, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2006, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
44
44
* engine is converted to JavaScript data types.
45
45
* </p>
46
46
* @since 1.5
47
+ * @deprecated The jdk.jsobject module will be delivered with JavaFX.
47
48
*/
49
+ @ Deprecated (since = "24" , forRemoval = true )
50
+ @ SuppressWarnings ("removal" )
48
51
public abstract class JSObject {
49
52
/**
50
53
* 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>The jdk.jsobject module will be delivered with JavaFX.</em>
31
+ * </p>
32
+ *
27
33
* <p>
28
34
* Provides Java code the ability to access the JavaScript engine and the
29
35
* HTML DOM in the web browser.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2017, 2021 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2017, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -45,7 +45,8 @@ public class UpgradeableModules {
45
45
private static final List <String > UPGRADEABLE_MODULES =
46
46
List .of ("java.compiler" ,
47
47
"jdk.graal.compiler" ,
48
- "jdk.graal.compiler.management" );
48
+ "jdk.graal.compiler.management" ,
49
+ "jdk.jsobject" );
49
50
50
51
51
52
public static void main (String ... args ) {
You can’t perform that action at this time.
0 commit comments