<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>sun/security/tools/keytool/ExtOptionCamelCase.java</tt><tt><br>
</tt><tt><br>
</tt><tt>This is not a compile-only test, but due to the missed @run
tag, test is not run.</tt><tt><br>
</tt><tt><br>
</tt><tt>Please review the patch to fix this issue.</tt><tt><br>
</tt><tt><br>
</tt><tt>The patch also fixed @modules. Test performs deep
reflection setAccessible(true) on a non-public member, `open`
added to the module.</tt><tt><br>
</tt><tt><br>
</tt><tt>bug: <a class="moz-txt-link-freetext"
href="https://bugs.openjdk.java.net/browse/JDK-8239979">https://bugs.openjdk.java.net/browse/JDK-8239979</a></tt><tt><br>
</tt><tt>webrev: <a class="moz-txt-link-freetext"
href="http://cr.openjdk.java.net/~amlu/8239979/webrev.00/index.html">http://cr.openjdk.java.net/~amlu/8239979/webrev.00/index.html</a></tt><tt><br>
</tt><tt><br>
</tt><tt>Thanks,</tt><tt><br>
</tt><tt>Amy</tt><tt><br>
<br>
</tt><br>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;">--- old/test/jdk/sun/security/tools/keytool/ExtOptionCamelCase.java 2020-02-26 10:36:19.000000000 +0800
+++ new/test/jdk/sun/security/tools/keytool/ExtOptionCamelCase.java 2020-02-26 10:36:18.000000000 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 2020, 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
@@ -24,11 +24,13 @@
/*
* @test
* @bug 8231950
+ * @summary keytool -ext camel-case shorthand not working
* @modules java.base/sun.security.tools.keytool
+ * java.base/sun.security.tools.keytool:open
* java.base/sun.security.util
* java.base/sun.security.x509
* @compile -XDignore.symbol.file ExtOptionCamelCase.java
- * @summary keytool -ext camel-case shorthand not working
+ * @run main/othervm ExtOptionCamelCase
*/
import sun.security.tools.keytool.Main;</pre>
<tt> </tt><tt> </tt>
</body>
</html>