United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6519513 PIT:Regression test java/awt/font/LineBreakMeasurer/FRCTest.java had error in 2007-01-24.jdk7.pit bu
JDK-6519513 : PIT:Regression test java/awt/font/LineBreakMeasurer/FRCTest.java had error in 2007-01-24.jdk7.pit bu

Details
Type:
Bug
Submit Date:
2007-01-31
Status:
Closed
Updated Date:
2011-04-05
Project Name:
JDK
Resolved Date:
2011-04-05
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
build: /net/jano.sfbay/export/disk29/jcg/NightlyBuilds/i18n.pit/jdk7/archived/2007-01-24.jdk7.pit
test: java/awt/font/LineBreakMeasurer/FRCTest.java

Eerror messages:

----------messages:(3/169)----------
command: main  -client -Xms16m -Xmx16mFRCTest
reason: User specified action: run main/othervm/timeout=600 -client -Xms16m -Xmx16m FRCTest 
elapsed time (seconds): 1.355
----------System.out:(0/0)----------
----------System.err:(10/698)----------
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class FRCTest with modifiers "public static"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:77)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
	at java.lang.Thread.run(Thread.java:619)

JavaTest Message: Verify that the class defining the test is
JavaTest Message: declared public (test invoked via reflection)

STATUS:Error.java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class FRCTest with modifiers "public static"
result: Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class FRCTest with modifiers "public static"

                                    

Comments
EVALUATION

The test has
class FRCTest {
instead of
public class FRCTest {

and regtest doesn't like that.

So its a minor problem in the test which passes outside of the harness.
                                     
2007-01-31



Hardware and Software, Engineered to Work Together