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

JLabel.setFont() cannot set Serif fonts on x86/Solaris 2.5.1.

XMLWordPrintable

    • 2d
    • 1.2rc2
    • x86
    • solaris_2.5.1, solaris_2.6
    • Not verified


      allan.jacobs@Eng 1998-10-05

      The JCK interactive test
        api/javax_swing/interactive/JLabelTests.html#JLabel
      fails in test case JLabelTest0025.

      #!/bin/ksh
      JDK=/net/mulder.eng/export/mulder3/jdk12x/sparc/jdk1.2FCS_L
      JCK=/net/jde1.eng/export/jtech23/JCK-12a
      PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:/usr/openwin/bin
      LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib
      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      export PATH
      export LD_LIBRARY_PATH
      export CLASSPATH
      #export DISPLAY=jtg-i103:0.0
      java -verify javasoft.sqe.tests.api.javax.swing.interactive.JLabel.JLabelTests -TestCaseID JLabelTest0025 -TestDirURL file:${JCK}/tests/api/javax_swing/interactive/JLabelTests.html

      Select "Serif" and "Set Font".

      The failure has only been observed on x86 running Solaris 2.5.1. It is definitely
      not present on intel's running Solaris 2.6. The problem does not occur on sparc's
      running either Solaris 2.5.1 or Solaris 2.6.

            jwarzech Joe Warzecha (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: