<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I am working towards fixing <a id="key-val" rel="4701334"
href="https://bugs.openjdk.java.net/browse/JDK-8027598"
style="color: rgb(50, 108, 166); text-decoration: none;">JDK-8027598</a>,
there are multiple options available here and would appreciate your
thoughts on this. It was filed to address the issue at large
reported in<a id="key-val" rel="4701180"
href="https://bugs.openjdk.java.net/browse/JDK-8027526"
style="color: rgb(50, 108, 166); text-decoration: none;">
JDK-8027526</a>. <br>
<br>
Problem - When a regression test is run in agentvm mode and alters
security providers, it can cause adverse effects on next tests
executed in the batch. We have been batteling with few intermittent
failures which are caused by scenario like this so I think it is
important to have this fix.<br>
<br>
Possible approaches -<br>
1. Enhance JTREG - This option would require change in jtreg to
store/restore security providers when run in agentvm mode. <br>
2. Update impacting tests to run in othervm - simple change but may
slow down batch execution slightly.<br>
3. Update each test to use library
java/security/KeyPairGenerator/Failover.java like done in
java/security/Provider tests - another easy change and tests would
continue to run agentvm but would have added overhead of restoring
providers.<br>
<br>
We will continue to pursue option 1 but many not be possible. Option
2 & 3 above are equally good and are debatable so would like
your thoughts on it.<br>
<br>
Thanks,<br>
Rajan<br>
<br>
<font size="1"></font><br>
</body>
</html>