-
Bug
-
Resolution: Fixed
-
P3
-
7
Testsuite name: regression j2se
Test: closed/sun/awt/font/FontConfig/FontConfigFileTest.sh fails
Seems to be test bug, Compilation in sh fails with
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
JDK/JRE tested: jdk 7b105
OS/architecture: linux-x86, linux-amd64
Reproducible: Always
Reproducible on machine: stt-28.russia
Is it a platform specific regression: N
Is it a Regression: N
Test run log location:
[stt-robot@stt-28]$ pwd
/export/jdk/7b105
[stt-robot@stt-28]$ cat cur/work/closed/sun/awt/font/FontConfig/FontConfigFileTest.jtr
#Test Results (version 2)
#Thu Aug 19 17:16:49 MSD 2010
#checksum:4fe484b105f2667
#-----testdescription-----
$file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
$root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test
keywords=bug5066464 shell
run=ASSUMED_ACTION shell FontConfigFileTest.sh\n
source=FontConfigFileTest.sh
title=Verify that when a filename is specified in a FontConfiguration file for Linux, that if the file does not exist and is a "core font", that the JRE will search for a replacement.
#-----environment-----
#-----testresult-----
description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
end=Thu Aug 19 17:16:49 MSD 2010
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=Linux 2.6.32-22-generic (amd64)
javatestVersion=3.2.2_03
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages shell
start=Thu Aug 19 17:16:47 MSD 2010
test=closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
work=/export/jdk/7b105/cur/work/closed/sun/awt/font/FontConfig
#section:script_messages
----------messages:(4/186)----------
JDK under test: (/export/jdk/7b105/jdk1.7.0)
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b105)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b05, mixed mode)
#section:shell
----------messages:(3/146)----------
command: shell FontConfigFileTest.sh []
reason: Assumed action based on file name: run shell FontConfigFileTest.sh
elapsed time (seconds): 1.589
----------System.out:(4/244)----------
TESTJAVA=/export/jdk/7b105/jdk1.7.0
TESTSRC=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig
TESTCLASSES=/export/jdk/7b105/cur/work/classes/closed/sun/awt/font/FontConfig
Test fails!
----------System.err:(43/2601)----------
FontConfigFileTest.java:2: warning: FontConfiguration is internal proprietary API and may be removed in a future release
import sun.awt.FontConfiguration;
^
FontConfigFileTest.java:3: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
import sun.font.CompositeFontDescriptor;
^
FontConfigFileTest.java:4: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment;
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:22: warning: FontConfiguration is internal proprietary API and may be removed in a future release
FontConfiguration fontConfig = sge.getFontConfiguration();
^
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
FontConfigFileTest.java:24: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor[] compositeFontInfo
^
FontConfigFileTest.java:27: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor descriptor = compositeFontInfo[i];
^
1 error
8 warnings
Error: Could not find main class FontConfigFileTest
Exception in thread "main" java.lang.NoClassDefFoundError: FontConfigFileTest
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: FontConfigFileTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Steps to reproduce:
[stt-robot@stt-28]$ export TESTJAVA=/export/jdk/7b105/jdk1.7.0/
[stt-robot@stt-28]$ export TESTSRC=.
[stt-robot@stt-28]$ export TESTCLASSES=.
[stt-robot@stt-28]$ sh ./FontConfigFileTest.sh
TESTJAVA=/export/jdk/7b105/jdk1.7.0/
TESTSRC=.
TESTCLASSES=.
FontConfigFileTest.java:2: warning: FontConfiguration is internal proprietary API and may be removed in a future release
import sun.awt.FontConfiguration;
^
FontConfigFileTest.java:3: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
import sun.font.CompositeFontDescriptor;
^
FontConfigFileTest.java:4: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment;
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:22: warning: FontConfiguration is internal proprietary API and may be removed in a future release
FontConfiguration fontConfig = sge.getFontConfiguration();
^
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
FontConfigFileTest.java:24: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor[] compositeFontInfo
^
FontConfigFileTest.java:27: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor descriptor = compositeFontInfo[i];
^
1 error
8 warnings
cp: `fctest.properties.ja' and `./fctest.properties.ja' are the same file
cp: `fctest.properties.ko' and `./fctest.properties.ko' are the same file
cp: `fctest.properties.zh' and `./fctest.properties.zh' are the same file
Error: Could not find main class FontConfigFileTest
Exception in thread "main" java.lang.NoClassDefFoundError: FontConfigFileTest
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: FontConfigFileTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
Test fails!
[stt-robot@stt-28]$
Test: closed/sun/awt/font/FontConfig/FontConfigFileTest.sh fails
Seems to be test bug, Compilation in sh fails with
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
JDK/JRE tested: jdk 7b105
OS/architecture: linux-x86, linux-amd64
Reproducible: Always
Reproducible on machine: stt-28.russia
Is it a platform specific regression: N
Is it a Regression: N
Test run log location:
[stt-robot@stt-28]$ pwd
/export/jdk/7b105
[stt-robot@stt-28]$ cat cur/work/closed/sun/awt/font/FontConfig/FontConfigFileTest.jtr
#Test Results (version 2)
#Thu Aug 19 17:16:49 MSD 2010
#checksum:4fe484b105f2667
#-----testdescription-----
$file=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
$root=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test
keywords=bug5066464 shell
run=ASSUMED_ACTION shell FontConfigFileTest.sh\n
source=FontConfigFileTest.sh
title=Verify that when a filename is specified in a FontConfiguration file for Linux, that if the file does not exist and is a "core font", that the JRE will search for a replacement.
#-----environment-----
#-----testresult-----
description=file:///net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
end=Thu Aug 19 17:16:49 MSD 2010
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=Linux 2.6.32-22-generic (amd64)
javatestVersion=3.2.2_03
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages shell
start=Thu Aug 19 17:16:47 MSD 2010
test=closed/sun/awt/font/FontConfig/FontConfigFileTest.sh
work=/export/jdk/7b105/cur/work/closed/sun/awt/font/FontConfig
#section:script_messages
----------messages:(4/186)----------
JDK under test: (/export/jdk/7b105/jdk1.7.0)
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b105)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b05, mixed mode)
#section:shell
----------messages:(3/146)----------
command: shell FontConfigFileTest.sh []
reason: Assumed action based on file name: run shell FontConfigFileTest.sh
elapsed time (seconds): 1.589
----------System.out:(4/244)----------
TESTJAVA=/export/jdk/7b105/jdk1.7.0
TESTSRC=/net/vice/export/stt/newroot/regression/workspaces/170/1.7.0_fcsb105/j2se/test/closed/sun/awt/font/FontConfig
TESTCLASSES=/export/jdk/7b105/cur/work/classes/closed/sun/awt/font/FontConfig
Test fails!
----------System.err:(43/2601)----------
FontConfigFileTest.java:2: warning: FontConfiguration is internal proprietary API and may be removed in a future release
import sun.awt.FontConfiguration;
^
FontConfigFileTest.java:3: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
import sun.font.CompositeFontDescriptor;
^
FontConfigFileTest.java:4: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment;
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:22: warning: FontConfiguration is internal proprietary API and may be removed in a future release
FontConfiguration fontConfig = sge.getFontConfiguration();
^
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
FontConfigFileTest.java:24: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor[] compositeFontInfo
^
FontConfigFileTest.java:27: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor descriptor = compositeFontInfo[i];
^
1 error
8 warnings
Error: Could not find main class FontConfigFileTest
Exception in thread "main" java.lang.NoClassDefFoundError: FontConfigFileTest
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: FontConfigFileTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Steps to reproduce:
[stt-robot@stt-28]$ export TESTJAVA=/export/jdk/7b105/jdk1.7.0/
[stt-robot@stt-28]$ export TESTSRC=.
[stt-robot@stt-28]$ export TESTCLASSES=.
[stt-robot@stt-28]$ sh ./FontConfigFileTest.sh
TESTJAVA=/export/jdk/7b105/jdk1.7.0/
TESTSRC=.
TESTCLASSES=.
FontConfigFileTest.java:2: warning: FontConfiguration is internal proprietary API and may be removed in a future release
import sun.awt.FontConfiguration;
^
FontConfigFileTest.java:3: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
import sun.font.CompositeFontDescriptor;
^
FontConfigFileTest.java:4: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
import sun.java2d.SunGraphicsEnvironment;
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:19: warning: SunGraphicsEnvironment is internal proprietary API and may be removed in a future release
SunGraphicsEnvironment sge = (SunGraphicsEnvironment)
^
FontConfigFileTest.java:22: warning: FontConfiguration is internal proprietary API and may be removed in a future release
FontConfiguration fontConfig = sge.getFontConfiguration();
^
FontConfigFileTest.java:22: cannot find symbol
FontConfiguration fontConfig = sge.getFontConfiguration();
^
symbol: method getFontConfiguration()
location: class SunGraphicsEnvironment
FontConfigFileTest.java:24: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor[] compositeFontInfo
^
FontConfigFileTest.java:27: warning: CompositeFontDescriptor is internal proprietary API and may be removed in a future release
CompositeFontDescriptor descriptor = compositeFontInfo[i];
^
1 error
8 warnings
cp: `fctest.properties.ja' and `./fctest.properties.ja' are the same file
cp: `fctest.properties.ko' and `./fctest.properties.ko' are the same file
cp: `fctest.properties.zh' and `./fctest.properties.zh' are the same file
Error: Could not find main class FontConfigFileTest
Exception in thread "main" java.lang.NoClassDefFoundError: FontConfigFileTest
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: FontConfigFileTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
Test fails!
[stt-robot@stt-28]$