8077395: org.omg.CORBA_2_3.portable.InputStream constructor should not specify JDK-specific property
Reviewed-by: lancea, rriggs
--- a/corba/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java Wed Jul 05 22:44:47 2017 +0200
+++ b/corba/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java Wed Jan 25 12:09:25 2017 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -75,10 +75,11 @@
/**
* Create a new instance of this class.
*
- * throw SecurityException if SecurityManager is installed and
+ * @implNote
+ * Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowInputStreamSubclass system
- * property is either not set or is set to 'false'
+ * property is either not set or is set to 'false'.
*/
public InputStream() {
this(checkPermission());
--- a/corba/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java Wed Jul 05 22:44:47 2017 +0200
+++ b/corba/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java Wed Jan 25 12:09:25 2017 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
@@ -72,10 +72,11 @@
/**
* Create a new instance of this class.
*
- * throw SecurityException if SecurityManager is installed and
+ * @implNote
+ * Throws SecurityException if SecurityManager is installed and
* enableSubclassImplementation SerializablePermission
* is not granted or jdk.corba.allowOutputStreamSubclass system
- * property is either not set or is set to 'false'
+ * property is either not set or is set to 'false'.
*/
public OutputStream() {
this(checkPermission());