# HG changeset patch # User coffeys # Date 1485346165 0 # Node ID b33379591deaf8a4f11e0835558c0bc08a422c09 # Parent 078ebe23b584466dc8346e620d7821d91751e5a9 8077395: org.omg.CORBA_2_3.portable.InputStream constructor should not specify JDK-specific property Reviewed-by: lancea, rriggs diff -r 078ebe23b584 -r b33379591dea src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java --- a/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java Fri Jan 20 18:26:37 2017 +0000 +++ b/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()); diff -r 078ebe23b584 -r b33379591dea src/java.corba/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java --- a/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java Fri Jan 20 18:26:37 2017 +0000 +++ b/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());