hg: code-tools/jtreg: 7900248: Enhance jtreg to copy/restore the Security Providers when running in agentvm or samevm mode.

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Dec 3 16:44:25 UTC 2013


Roger,

That conflicts with the wishes of the security team who requested that 
jtreg clean up the security providers -- i.e. they don't want their 
tests to have to worry about it.  The security team filed the request 
for 7900248.

So, I think you and the security team need to figure out the coding 
style and pattern you want and then figure out what jtreg support you need.

-- Jon


On 12/03/2013 06:47 AM, roger riggs wrote:
> Hi Jon,
>
> I'd like to see a log message flagging a test that does not
> restore the log providers.  Otherwise, we're going to encourage
> poor hygiene in tests and won't know the extent of the use/misuse.
>
> Roger
>
> On 12/2/2013 9:09 PM, jonathan.gibbons at oracle.com wrote:
>> Changeset: 8218bff65772
>> Author:    jjg
>> Date:      2013-12-02 18:07 -0800
>> URL: http://hg.openjdk.java.net/code-tools/jtreg/rev/8218bff65772
>>
>> 7900248: Enhance jtreg to copy/restore the Security Providers when 
>> running in agentvm or samevm mode.
>>
>> + make/tests/SecurityProviderTest.gmk
>> ! src/share/classes/com/sun/javatest/regtest/Action.java
>> + src/share/test/javatest/regtest/data/secprov/A.java
>> + src/share/test/javatest/regtest/data/secprov/B.java
>> + src/share/test/javatest/regtest/data/secprov/C.java
>> + src/share/test/javatest/regtest/data/secprov/TEST.ROOT
>> + src/share/test/javatest/regtest/data/secprov/Test.java
>>
>



More information about the jtreg-dev mailing list