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

PIT: 2DPrinting Suite - PrintFont_2D test fails when rendering fonts on RH 8.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux_redhat_8.0

      Description

      With recent PIT build, 2DPrinting suite test "PrintFont_2D" is failing when rendering fonts on RH 8.0 or RH 9.0. The failure appears to be a rendering problem as the test fails before a print request is done.

      - PIT build used was: "2d.pit-jcg-linux-01-2003-08-06.tiger"

      - The PrintFont_2D test will use GraphicsEnvironment.getAllFonts() to present the list of available fonts. The fonts are displayed one set at a time in a frame controlled by "Next Set" and "Previous Set" buttons.

      - The test fails after the 4th set of fonts is displayed.

      - The error is as follows:
      java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
      result: Failed. Unexpected exit from test [exit code: 134]

      - The test passes with latest promoted Tiger Build:
      1.5.0-beta-b14


      Steps to reproduce:
      -------------------
      1) Obtain a copy of the 2DPrinting Suite from workspace located at:
      /java/j2se-sqe/2d/Merlin_2d_ws/2DPrinting

      2) On RH 9.0, set the following variables:
       - JAVA_HOME
         (to recent PIT build)

       - JTREG_HOME
         export JTREG_HOME=/home/rickr/work/jtreg

      3) From root level of 2DPrinting/ directory, run the command:

      ksh $JTREG_HOME/linux/bin/jtreg -va -cpa:"./src/Interactive/LL/PrintFont_2D/resources" ./src/Interactive/LL/PrintFont_2D/PrintFont_2D.html


      4) The test will bring up a dialog box with the buttons Print, Next Set, Previous Set.

      5) Click on the "Next Set" button a few times to cycle through the font sets. The 4th set should cause the exception.

      6) No printing needs to be done to reproduce the failure.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor Igor Nekrestyanov (Inactive)
              Reporter:
              rreynagasunw Rick Reynaga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: