8039251: Test tools/javadoc/6964914/TestStdDoclet.java fails

Reviewed-by: jjg
This commit is contained in:
Kumar Srinivasan 2014-04-16 18:36:43 -07:00
parent 81730320bd
commit 7a4a5803fc

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -57,6 +57,7 @@ public class TestStdDoclet {
Process p = new ProcessBuilder() Process p = new ProcessBuilder()
.command(javadoc.getPath(), .command(javadoc.getPath(),
"-J-Xbootclasspath:" + System.getProperty("sun.boot.class.path"), "-J-Xbootclasspath:" + System.getProperty("sun.boot.class.path"),
"-classpath", ".", // insulates us from ambient classpath
"-Xdoclint:none", "-Xdoclint:none",
"-package", "-package",
new File(testSrc, thisClassName + ".java").getPath()) new File(testSrc, thisClassName + ".java").getPath())