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

Return value for SynthLookAndFeel.isNativeLookAndFeel() is contradictory

XMLWordPrintable

    • b39
    • sparc
    • solaris_2.6



      Name: apR10229 Date: 07/16/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b10"
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : N/A


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      public boolean isNativeLookAndFeel()

          Returns false, SynthLookAndFeel is not a native look and feel.

      Returns: true.

      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      API Documentation for javax.swing.plaf.synth.SynthLookAndFeel.isNativeLookAndFeel()
      is not clear. First sentence says that method should always return false, next says that
      method returns true. Seems that it's just a typo.

      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests

      ======================================================================

            gromainsunw Guy Romain (Inactive)
            pavsunw Pav Pav (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: