8004184: security tests leave JSSEServer running

Use othervm mode to release resources,  and correct the system properties issues in JSSE

Reviewed-by: chegar
This commit is contained in:
Xue-Lei Andrew Fan 2012-12-03 06:00:19 -08:00
parent fdd109b467
commit eb66ce8b2e

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -21,6 +21,11 @@
* questions.
*/
//
// SunJSSE does not support dynamic system properties, no way to re-use
// system properties in samevm/agentvm mode.
//
/*
* @test
* @bug 6405536
@ -28,6 +33,7 @@
* @author Andreas Sterbenz
* @library ..
* @library ../../../../java/security/testlibrary
* @run main/othervm ClientJSSEServerJSSE
*/
import java.security.*;