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

closed/java/awt/font/LogicalFonts/MappingTest.java fails

XMLWordPrintable

    • 2d
    • b74
    • 7
    • b128
    • x86
    • linux_redhat_5.0
    • Verified

      Testsuite name: regression j2se
      test: closed/java/awt/font/LogicalFonts/MappingTest.java
      compilation failed
      JDK/JRE tested: jdk 7 b106
      OS/architecture: rhel5 - x64
      Reproducible: Always
      Reproducible on machine: stt-57.russia

      Is it a platform specific regression: N
      Is it a Regression: N

      Test run log location:
      [stt-robot@stt-57]$ cat cur/work/closed/java/awt/font/LogicalFonts/MappingTest.jtr
      #Test Results (version 2)
      #Tue Aug 24 20:56:54 MSD 2010
      #checksum:4b2ba128b7bf452b
      #-----testdescription-----
      $file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java
      $root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test
      keywords=bug4523344 bug4823264 bug4835699 bug4097028 bug4850215 bug6872774 bug6830423 closed-other othervm
      run=USER_SPECIFIED compile MappingTest.java\nUSER_SPECIFIED main/othervm MappingTest\nUSER_SPECIFIED main/othervm MappingTest -plsf\n
      source=MappingTest.java
      title=Verify that the class sun.awt.FontConfiguration provides correct mappings for logical fonts

      #-----environment-----

      #-----testresult-----
      description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java
      end=Tue Aug 24 20:56:54 MSD 2010
      environment=regtest
      execStatus=Failed. Compilation failed
      javatestOS=Linux 2.6.18-194.el5 (i386)
      javatestVersion=3.2.2_03
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages compile
      start=Tue Aug 24 20:56:53 MSD 2010
      test=closed/java/awt/font/LogicalFonts/MappingTest.java
      work=/export/JQA/regression/cur/work/closed/java/awt/font/LogicalFonts

      #section:script_messages
      ----------messages:(4/186)----------
      JDK under test: (/export/jdk/jdk1.7.0b106)
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b106)
      Java HotSpot(TM) Client VM (build 19.0-b05, mixed mode, sharing)

      #section:compile
      ----------messages:(3/238)----------
      command: compile /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java
      reason: User specified action: run compile MappingTest.java
      elapsed time (seconds): 1.003
      ----------System.out:(0/0)----------
      ----------System.err:(61/5481)----------
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:36: warning: FontConfiguration is internal proprietary API and may be removed in a future release
      import sun.awt.FontConfiguration;
                    ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:37: warning: FontDescriptor is internal proprietary API and may be removed in a future release
      import sun.awt.FontDescriptor;
                    ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:38: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
      import sun.font.CompositeFontDescriptor;
                     ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:39: warning: FontManager is internal proprietary API and may be removed in a future release
      import sun.font.FontManager;
                     ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:41: warning: FontSupport is internal proprietary API and may be removed in a future release
      import sun.java2d.FontSupport;
                       ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:42: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
      import sun.java2d.SunGraphicsEnvironment;
                       ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:149: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
              SunGraphicsEnvironment.useAlternateFontforJALocales();
              ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:149: cannot find symbol
              SunGraphicsEnvironment.useAlternateFontforJALocales();
                                    ^
        symbol: method useAlternateFontforJALocales()
        location: class SunGraphicsEnvironment
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:154: warning: FontConfiguration is internal proprietary API and may be removed in a future release
              FontConfiguration fontConfig =
              ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:155: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
                  ((SunGraphicsEnvironment)ge).createFontConfiguration(preferLocale,
                    ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:155: cannot find symbol
                  ((SunGraphicsEnvironment)ge).createFontConfiguration(preferLocale,
                                              ^
        symbol: method createFontConfiguration(boolean,boolean)
        location: class SunGraphicsEnvironment
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:171: warning: FontManager is internal proprietary API and may be removed in a future release
                  fontDirs = FontManager.getFontPath(true).split(File.pathSeparator);
                             ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:171: cannot find symbol
                  fontDirs = FontManager.getFontPath(true).split(File.pathSeparator);
                                        ^
        symbol: method getFontPath(boolean)
        location: interface FontManager
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:177: warning: FontDescriptor is internal proprietary API and may be removed in a future release
                      FontDescriptor[] descriptors = fontConfig.getFontDescriptors(fontNames[i], styles[j]);
                      ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:185: warning: FontDescriptor is internal proprietary API and may be removed in a future release
                          FontDescriptor desc = descriptors[k];
                          ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:208: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
              CompositeFontDescriptor[] descriptors
              ^
      /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java:211: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
                  CompositeFontDescriptor descriptor = descriptors[i];
                  ^
      Note: /net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb106/j2se/test/closed/java/awt/font/LogicalFonts/MappingTest.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      3 errors
      14 warnings
      result: Failed. Compilation failed


      test result: Failed. Compilation failed


      Steps to reproduce:
      [stt-robot@stt-57]$ /export/jdk/jdk1.7.0b106/bin/javac MappingTest.java
      MappingTest.java:36: warning: FontConfiguration is internal proprietary API and may be removed in a future release
      import sun.awt.FontConfiguration;
                    ^
      MappingTest.java:37: warning: FontDescriptor is internal proprietary API and may be removed in a future release
      import sun.awt.FontDescriptor;
                    ^
      MappingTest.java:38: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
      import sun.font.CompositeFontDescriptor;
                     ^
      MappingTest.java:39: warning: FontManager is internal proprietary API and may be removed in a future release
      import sun.font.FontManager;
                     ^
      MappingTest.java:41: warning: FontSupport is internal proprietary API and may be removed in a future release
      import sun.java2d.FontSupport;
                       ^
      MappingTest.java:42: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
      import sun.java2d.SunGraphicsEnvironment;
                       ^
      MappingTest.java:149: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
              SunGraphicsEnvironment.useAlternateFontforJALocales();
              ^
      MappingTest.java:149: cannot find symbol
              SunGraphicsEnvironment.useAlternateFontforJALocales();
                                    ^
        symbol: method useAlternateFontforJALocales()
        location: class SunGraphicsEnvironment
      MappingTest.java:154: warning: FontConfiguration is internal proprietary API and may be removed in a future release
              FontConfiguration fontConfig =
              ^
      MappingTest.java:155: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
                  ((SunGraphicsEnvironment)ge).createFontConfiguration(preferLocale,
                    ^
      MappingTest.java:155: cannot find symbol
                  ((SunGraphicsEnvironment)ge).createFontConfiguration(preferLocale,
                                              ^
        symbol: method createFontConfiguration(boolean,boolean)
        location: class SunGraphicsEnvironment
      MappingTest.java:171: warning: FontManager is internal proprietary API and may be removed in a future release
                  fontDirs = FontManager.getFontPath(true).split(File.pathSeparator);
                             ^
      MappingTest.java:171: cannot find symbol
                  fontDirs = FontManager.getFontPath(true).split(File.pathSeparator);
                                        ^
        symbol: method getFontPath(boolean)
        location: interface FontManager
      MappingTest.java:177: warning: FontDescriptor is internal proprietary API and may be removed in a future release
                      FontDescriptor[] descriptors = fontConfig.getFontDescriptors(fontNames[i], styles[j]);
                      ^
      MappingTest.java:185: warning: FontDescriptor is internal proprietary API and may be removed in a future release
                          FontDescriptor desc = descriptors[k];
                          ^
      MappingTest.java:208: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
              CompositeFontDescriptor[] descriptors
              ^
      MappingTest.java:211: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
                  CompositeFontDescriptor descriptor = descriptors[i];
                  ^
      Note: MappingTest.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      3 errors
      14 warnings


      It seems to be test bug.

            prr Philip Race
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: