- 
    Bug 
- 
    Resolution: Not an Issue
- 
     P4 P4
- 
    None
- 
    6u18
- 
        x86
- 
        windows_xp
                    FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When i run testcase with jdk1.5.0_17,i can load this class successfully.
But can't load it with jdk1.6.0_18
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run testcase with jdk1.5.0_17and jdk1.6.0_18,you can get different result.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
load this class successfully
ACTUAL -
Exception in thread "main" java.lang.IllegalAccessError: class javax.activation.
SecuritySupport12 cannot access its superclass javax.activation.SecuritySupport
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestClassLoader {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
ClassLoader cls = java.lang.ClassLoader.getSystemClassLoader();
try {
Class c = cls.loadClass( "javax.activation.SecuritySupport12" );
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
---------- END SOURCE ----------
            
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When i run testcase with jdk1.5.0_17,i can load this class successfully.
But can't load it with jdk1.6.0_18
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run testcase with jdk1.5.0_17and jdk1.6.0_18,you can get different result.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
load this class successfully
ACTUAL -
Exception in thread "main" java.lang.IllegalAccessError: class javax.activation.
SecuritySupport12 cannot access its superclass javax.activation.SecuritySupport
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestClassLoader {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
ClassLoader cls = java.lang.ClassLoader.getSystemClassLoader();
try {
Class c = cls.loadClass( "javax.activation.SecuritySupport12" );
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
---------- END SOURCE ----------