mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8178380
: Module system implementation refresh (5/2017)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com> Reviewed-by: lfoltan, hseigel, mchung, sspitsyn
This commit is contained in:
parent
fd4f7d938a
commit
aefdcda532
27 changed files with 202 additions and 120 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2017, 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
|
||||
|
@ -57,7 +57,7 @@ public class StartupTimeTest {
|
|||
|
||||
static void analyzeModulesOutputOff(ProcessBuilder pb) throws Exception {
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("[modules,startuptime]");
|
||||
output.shouldNotContain("[module,startuptime]");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
|
@ -70,11 +70,11 @@ public class StartupTimeTest {
|
|||
InnerClass.class.getName());
|
||||
analyzeOutputOff(pb);
|
||||
|
||||
pb = ProcessTools.createJavaProcessBuilder("-Xlog:startuptime+modules",
|
||||
pb = ProcessTools.createJavaProcessBuilder("-Xlog:startuptime+module",
|
||||
InnerClass.class.getName());
|
||||
analyzeModulesOutputOn(pb);
|
||||
|
||||
pb = ProcessTools.createJavaProcessBuilder("-Xlog:startuptime+modules=off",
|
||||
pb = ProcessTools.createJavaProcessBuilder("-Xlog:startuptime+module=off",
|
||||
InnerClass.class.getName());
|
||||
analyzeModulesOutputOff(pb);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue