Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7027045

(doc) java/awt/Window.java has several typos in javadoc

    Details

    • Subcomponent:
    • Resolved In Build:
      b105
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The javadoc comments for the following serialized fields in java/awt/Window.java
        should have javadoc in /** ...*/ style, not /*...*/:
        ...

            /*
             * The opacity level of the window
             *
             * @serial
             * @see #setOpacity(float)
             * @see #getOpacity()
             * @since 1.7
             */
            private float opacity = 1.0f;

            /*
             * The shape assigned to this window. This field is set to {@code null} if
             * no shape is set (rectangular window).
             *
             * @serial
             * @see #getShape()
             * @see #setShape(Shape)
             * @since 1.7
             */
            private Shape shape = null;
        ...

        Otherwise all of the above does not exist in Serialized Form javadoc.

          Activity

          Hide
          dav Andrei Dmitriev (Inactive) added a comment -
          BT2:SUGGESTED FIX

          --- a/src/share/classes/java/awt/Window.java Mon Mar 14 18:57:38 2011 +0300
          +++ b/src/share/classes/java/awt/Window.java Mon Mar 14 19:53:04 2011 +0300
          @@ -339,7 +339,7 @@
                */
               transient boolean isInShow = false;

          - /*
          + /**
                * The opacity level of the window
                *
                * @serial
          @@ -349,7 +349,7 @@
                */
               private float opacity = 1.0f;

          - /*
          + /**
                * The shape assigned to this window. This field is set to {@code null} if
                * no shape is set (rectangular window).
                *
          Show
          dav Andrei Dmitriev (Inactive) added a comment - BT2:SUGGESTED FIX --- a/src/share/classes/java/awt/Window.java Mon Mar 14 18:57:38 2011 +0300 +++ b/src/share/classes/java/awt/Window.java Mon Mar 14 19:53:04 2011 +0300 @@ -339,7 +339,7 @@       */      transient boolean isInShow = false; - /* + /**       * The opacity level of the window       *       * @serial @@ -349,7 +349,7 @@       */      private float opacity = 1.0f; - /* + /**       * The shape assigned to this window. This field is set to {@code null} if       * no shape is set (rectangular window).       *
          Hide
          dav Andrei Dmitriev (Inactive) added a comment -
          BT2:EVALUATION

          Within the Window also misses a doc:
              boolean syncLWRequests = false;
              private boolean locationByPlatform = locationByPlatformProp;
          Show
          dav Andrei Dmitriev (Inactive) added a comment - BT2:EVALUATION Within the Window also misses a doc:     boolean syncLWRequests = false;     private boolean locationByPlatform = locationByPlatformProp;
          Hide
          dav Andrei Dmitriev (Inactive) added a comment -
          BT2:SUGGESTED FIX

          Also should remove synch specifics which apparently a part of public API via Serialized Form.
              /**
               * Window type.
               *
          - * Synchronization: ObjectLock
               */
              private Type type = Type.NORMAL;
          Show
          dav Andrei Dmitriev (Inactive) added a comment - BT2:SUGGESTED FIX Also should remove synch specifics which apparently a part of public API via Serialized Form.     /**      * Window type.      * - * Synchronization: ObjectLock      */     private Type type = Type.NORMAL;
          Hide
          vdyakov Victor Dyakov added a comment -
          8-defer-request:

          This is the issue from 7 GA when it was approved to defer that time. Requesting to defer again because there are no customer escalations on this issue.
          Show
          vdyakov Victor Dyakov added a comment - 8-defer-request: This is the issue from 7 GA when it was approved to defer that time. Requesting to defer again because there are no customer escalations on this issue.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/4702ab74b70a
          User: serb
          Date: 2013-08-13 11:44:47 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/4702ab74b70a User: serb Date: 2013-08-13 11:44:47 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/4702ab74b70a
          User: lana
          Date: 2013-08-26 18:32:19 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/4702ab74b70a User: lana Date: 2013-08-26 18:32:19 +0000

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              ygaevsky Yuri Gaevsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: