提交 67c876a4 编写于 作者: W weijun

7194472: FileKeyTab.java test fails on Windows

Reviewed-by: alanb
上级 361d5538
......@@ -37,9 +37,8 @@ import sun.security.jgss.GSSUtil;
public class FileKeyTab {
public static void main(String[] args) throws Exception {
new OneKDC(null).writeJAASConf();
String ktab = new File(OneKDC.KTAB).getAbsolutePath();
String ktab = new File(OneKDC.KTAB).getAbsolutePath().replace('\\', '/');
File f = new File(OneKDC.JAAS_CONF);
try (FileOutputStream fos = new FileOutputStream(f)) {
fos.write((
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册