-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
beta
-
x86, sparc
-
linux, solaris_8, windows_2000
-
Not verified
Name: icR10030 Date: 08/05/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-rc-b18
Testbase : Regression testsuite
Platform[s] : Linux, Windows, Solaris
Failing Test :
CTE_REGTEST/Generic/4451915/Myclient.java
CTE_REGTEST/Generic/4451915/Myclient1.java
The both tests's classes Myclient and Myclient1 must be declared as public.
Due to the bug, harness can't execute the tests.
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b18/regtest/win32/win2000_smp_linux-22/workDir/cte/CTE_REGTEST/Generic/4670958/Test4670958.jtr
How to reproduce:
=================
Run the tests.
Test output:
============
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class Myclient with modifiers "public static"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
at java.lang.reflect.Method.invoke(Method.java:317)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:536)
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 Myclient with modifiers "public static"
result: Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class Myclient with modifiers "public static"
test result: Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class Myclient with modifiers "public static"
Specific Machine Info:
======================
Hostname: linux-12
OS: Linux Redhat 7.2
======================================================================