Mercurial > hg > openjdk > jdk9 > corba
changeset 830:b33379591dea
8077395: org.omg.CORBA_2_3.portable.InputStream constructor should not specify JDK-specific property
Reviewed-by: lancea, rriggs
author | coffeys |
---|---|
date | Wed, 25 Jan 2017 12:09:25 +0000 |
parents | 078ebe23b584 |
children | 16e84753114b |
files | src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java src/java.corba/share/classes/org/omg/CORBA_2_3/portable/OutputStream.java |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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());
--- 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());