Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6621691
Votes 0
Synopsis (dc) test/java/nio/channels/DatagramChannel/NotBound.java missing public modifier
Category java:classes_nio
Reported Against
Release Fixed , 6-open(b11) (Bug ID:2162951)
State 11-Closed, Not a Defect, bug
Priority: 4-Low
Related Bugs
Submit Date 25-OCT-2007
Description
TEST: java/nio/channels/DatagramChannel/NotBound.java
JDK under test: (/opt/jprt/temp/P2/T/165459.ab23780/testproduct/solaris_i586_5.10-product)
java version "1.7.0-2007-10-18-165459.ab23780.jsr203-master"
Java(TM) SE Runtime Environment (build 1.7.0-2007-10-18-165459.ab23780.jsr203-master-jprtadm_18_Oct_2007_10_05-b00)
Java HotSpot(TM) Client VM (build 11.0-b08, mixed mode)

ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   0.716 seconds
messages:
command: build NotBound
reason: Named class compiled on demand
elapsed time (seconds): 0.716

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.716 seconds
messages:
command: compile /tmp/jprt/temp/P2/T/165459.ab23780/source/test/java/nio/channels/DatagramChannel/NotBound.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.716
STDOUT:
STDERR:

ACTION: main -- Error. java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class NotBound with modifiers "public static"
REASON: Assumed action based on file name: run main NotBound 
TIME:   0.17 seconds
messages:
command: main NotBound
reason: Assumed action based on file name: run main NotBound 
elapsed time (seconds): 0.17
STDOUT:
STDERR:
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class NotBound with modifiers "public static"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
	at java.lang.reflect.Method.invoke(Method.java:614)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
	at java.lang.Thread.run(Thread.java:675)

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 NotBound with modifiers "public static"

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



This bug was also reported on the core-lib-dev mailing list:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2007-October/000095.html
Posted Date : 2007-10-25 17:56:59.0
Work Around
N/A
Evaluation
This test will be replaced once 6621689 is integrated so for now tag the test with the @ignore tag.
Posted Date : 2008-05-30 11:54:54.0

This test has been mostly replaced so this problem no longer exists.
Posted Date : 2009-03-24 15:43:32.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang