RFR/RFA (8u-dev) 8080524: [TESTBUG] java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java fails on compact profiles

Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Jun 25 13:08:25 UTC 2015



On 25.06.2015 15:58, Alan Bateman wrote:
>
>
> On 25/06/2015 11:29, Ivan Gerasimov wrote:
>> Hi David!
>>
>> The test fails when reading content of existing jsse.jar, which 
>> belongs to compact3 profile.
>> When the test loads classes from this jar and tries to access their 
>> fields, it hits the types that are not included in compact[12], thus 
>> NoClassDefFoundError.
>>
>> I'm not certain, if it is a bug that jsse.jar is referenced from 
>> "sun.boot.class.path" when the application is run in compact[12] 
>> profiles.
> Are these the same dangling references that are listed in 8u's 
> make/data/checkdeps/refs.allowed? It wasn't possible to get these 
> issues fixed in 8u but they have been addressed in 9.
>
Yes. This is it!
Would it make sense then to simply skip jsse.jar when executing the test 
in compact[12]?
I guess It should be possible to determine that by checking the 
properties profile.compact1 and profile.compact2 aren't nulls.

Sincerely yours,
Ivan

> Separately, I hope that this section from TEST.groups will eventually 
> go away in 9.
>
> -Alan
>
>




More information about the core-libs-dev mailing list