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

reg test java/awt/font/LogicalFonts/MappingTest.java fails on RH Linux

XMLWordPrintable

    • 2d
    • b45
    • x86
    • linux, linux_redhat_3.0
    • Verified

      Platform RedHatAS 3
      JDK j2sdk1.5.0 b41

      The test case fails as follows.

      Read golden data from /home/so129345/i18n/reg_merlin/test/java/awt/font/LogicalFonts/mapping.RedHat.3.EUC_JP_LINUX
      2d.sansserif.italic.0.file:
          old: $JAVA_LIB_FONTS/LucidaSansOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaSansRegular.ttf
      2d.sansserif.bolditalic.0.file:
          old: $JAVA_LIB_FONTS/LucidaSansDemiOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaSansDemiBold.ttf
      2d.monospaced.italic.0.file:
          old: $JAVA_LIB_FONTS/LucidaTypewriterOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaTypewriterRegular.ttf
      2d.monospaced.bolditalic.0.file:
          old: $JAVA_LIB_FONTS/LucidaTypewriterBoldOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaTypewriterBold.ttf
      2d.dialog.italic.0.file:
          old: $JAVA_LIB_FONTS/LucidaSansOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaSansRegular.ttf
      2d.dialog.bolditalic.0.file:
          old: $JAVA_LIB_FONTS/LucidaSansDemiOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaSansDemiBold.ttf
      2d.dialoginput.italic.0.file:
          old: $JAVA_LIB_FONTS/LucidaTypewriterOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaTypewriterRegular.ttf
      2d.dialoginput.bolditalic.0.file:
          old: $JAVA_LIB_FONTS/LucidaTypewriterBoldOblique.ttf
          new: $JAVA_LIB_FONTS/LucidaTypewriterBold.ttf
      ----------System.err:(13/703)----------
      java.lang.RuntimeException: Errors occurred.
              at MappingTest.main(MappingTest.java:117)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:495)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:570)

      This is happening since beta2 when *Oblique fonts are removed from linux jre's fonts directory.

      tiger-beta b32c
      so129345@yo[3253] ls jre/lib/fonts
      LucidaBrightDemiBold.ttf LucidaSansRegular.ttf
      LucidaBrightDemiItalic.ttf LucidaTypewriterBold.ttf
      LucidaBrightItalic.ttf LucidaTypewriterBoldOblique.ttf
      LucidaBrightRegular.ttf LucidaTypewriterOblique.ttf
      LucidaSansDemiBold.ttf LucidaTypewriterRegular.ttf
      LucidaSansDemiOblique.ttf fonts.dir
      LucidaSansOblique.ttf

      tiger-beta2 b38
      so129345@yo[3265] ls jre/lib/fonts
      LucidaBrightDemiBold.ttf LucidaSansRegular.ttf
      LucidaBrightDemiItalic.ttf LucidaTypewriterBold.ttf
      LucidaBrightItalic.ttf LucidaTypewriterRegular.ttf
      LucidaBrightRegular.ttf fonts.dir
      LucidaSansDemiBold.ttf

            prr Philip Race
            ogino Shinya Ogino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: