Skip to content

Commit 6eba096

Browse files
author
Roger Riggs
committed
8310999: Add @SInCE info in jdk.jsobject files
Reviewed-by: lancea, joehw, bpb, iris, prr
1 parent 6ebb0e3 commit 6eba096

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/jdk.jsobject/share/classes/netscape/javascript/JSException.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@
2929
* Thrown when an exception is raised in the JavaScript engine. This is merely
3030
* a marker class to indicate an exception relating to the JavaScript
3131
* interface.
32+
* @since 1.5
3233
*/
3334
public class JSException extends RuntimeException {
3435
private static final long serialVersionUID = 2778103758223661489L;

src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,11 +25,6 @@
2525

2626
package netscape.javascript;
2727

28-
import java.security.AccessController;
29-
import java.security.PrivilegedAction;
30-
import java.util.Iterator;
31-
import java.util.ServiceLoader;
32-
3328
/**
3429
* <p>
3530
* Allows Java code to manipulate JavaScript objects.
@@ -48,9 +43,8 @@
4843
* converted to Java data types. Certain data passed to the JavaScript
4944
* engine is converted to JavaScript data types.
5045
* </p>
51-
*
46+
* @since 1.5
5247
*/
53-
@SuppressWarnings("deprecation")
5448
public abstract class JSObject {
5549
/**
5650
* Constructs a new JSObject. Users should neither call this method nor

0 commit comments

Comments
 (0)