Class
public DockerRunOptions(String imageNameAndTag, String javaCmd,
String classToRun, String... javaOpts) {
this.imageNameAndTag = imageNameAndTag;
this.command = javaCmd;
this.classToRun = classToRun;
this.addJavaOpts(javaOpts);
// always print hserr to stderr in the docker tests to avoid
// trouble accessing it after a crash in the container
this.addJavaOpts("-XX:+ErrorFileToStderr");
}
run addJavaOpts from ctor
The warning is
/home/lmesnik/ws/jdk-lib/open/test/lib/jdk/test/lib/containers/docker/DockerRunOptions.java:62: warning: [this-escape] possible 'this' escape before subclass is fully initialized
this.addJavaOpts(javaOpts);
public DockerRunOptions(String imageNameAndTag, String javaCmd,
String classToRun, String... javaOpts) {
this.imageNameAndTag = imageNameAndTag;
this.command = javaCmd;
this.classToRun = classToRun;
this.addJavaOpts(javaOpts);
// always print hserr to stderr in the docker tests to avoid
// trouble accessing it after a crash in the container
this.addJavaOpts("-XX:+ErrorFileToStderr");
}
run addJavaOpts from ctor
The warning is
/home/lmesnik/ws/jdk-lib/open/test/lib/jdk/test/lib/containers/docker/DockerRunOptions.java:62: warning: [this-escape] possible 'this' escape before subclass is fully initialized
this.addJavaOpts(javaOpts);
- blocks
-
JDK-8346050 Update BuildTestLib.gmk to build whole testlibrary
- New
- relates to
-
JDK-8346058 Add support of using compiled test library
- New
- links to
-
Commit(master) openjdk/jdk/390b2053
-
Review(master) openjdk/jdk/22748