JDK-6519513 : PIT:Regression test java/awt/font/LineBreakMeasurer/FRCTest.java had error in 2007-01-24.jdk7.pit bu
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-01-31
  • Updated: 2011-04-05
  • Resolved: 2011-04-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Fixed 7 b08Fixed
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.
31-01-2007