8310999: Add @since info in jdk.jsobject files

Reviewed-by: lancea, joehw, bpb, iris, prr
This commit is contained in:
Roger Riggs 2023-07-05 18:21:48 +00:00
parent 6ebb0e3bd4
commit 6eba096ca2
2 changed files with 4 additions and 9 deletions
src/jdk.jsobject/share/classes/netscape/javascript

@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2023, 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
@ -29,6 +29,7 @@ package netscape.javascript;
* Thrown when an exception is raised in the JavaScript engine. This is merely
* a marker class to indicate an exception relating to the JavaScript
* interface.
* @since 1.5
*/
public class JSException extends RuntimeException {
private static final long serialVersionUID = 2778103758223661489L;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2023, 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
@ -25,11 +25,6 @@
package netscape.javascript;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Iterator;
import java.util.ServiceLoader;
/**
* <p>
* Allows Java code to manipulate JavaScript objects.
@ -48,9 +43,8 @@ import java.util.ServiceLoader;
* converted to Java data types. Certain data passed to the JavaScript
* engine is converted to JavaScript data types.
* </p>
*
* @since 1.5
*/
@SuppressWarnings("deprecation")
public abstract class JSObject {
/**
* Constructs a new JSObject. Users should neither call this method nor