RFR (XXS) : 8050123: Incorrect property name documented in CORBA InputStream API

Alan Bateman Alan.Bateman at oracle.com
Fri Apr 10 07:03:06 UTC 2015


On 09/04/2015 14:42, Seán Coffey wrote:
> https://bugs.openjdk.java.net/browse/JDK-8050123
>
> diff --git 
> a/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java 
> b/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
> +++ 
> b/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/InputStream.java
> @@ -77,7 +77,7 @@
>       *
>       * throw SecurityException if SecurityManager is installed and
>       * enableSubclassImplementation SerializablePermission
> -     * is not granted or jdk.corba.allowOutputStreamSubclass system
> +     * is not granted or jdk.corba.allowInputStreamSubclass system
>       * property is either not set or is set to 'false'
>       */
>      public InputStream() {
>
This is JDK-specific and so shouldn't be in the constructor 
specification. Can it be moved to an @implNote?

-Alan.



More information about the core-libs-dev mailing list