You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/building.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ <h4 id="advanced-make-control-variables">Advanced Make Control Variables</h4>
506
506
</ul>
507
507
<h2id="running-tests">Running Tests</h2>
508
508
<p>Most of the JDK tests are using the <ahref="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=<path to jtreg home></code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
509
-
<p>The <ahref="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <ahref="https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
509
+
<p>The <ahref="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <ahref="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
510
510
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
511
511
<ul>
512
512
<li>by downloading and unpacking the source bundle from <ahref="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>
<li><p>All source files must have a globally unique basename. The build system depends on this uniqueness.</p></li>
95
95
<li><p>Do not put non-trivial function implementations in .hpp files. If the implementation depends on other .hpp files, put it in a .cpp or a .inline.hpp file.</p></li>
96
96
<li><p>.inline.hpp files should only be included in .cpp or .inline.hpp files.</p></li>
97
+
<li><p>All .inline.hpp files should include their corresponding .hpp file as the first include line. Declarations needed by other files should be put in the .hpp file, and not in the .inline.hpp file. This rule exists to resolve problems with circular dependencies between .inline.hpp files.</p></li>
97
98
<li><p>All .cpp files include precompiled.hpp as the first include line.</p></li>
98
99
<li><p>precompiled.hpp is just a build time optimization, so don't rely on it to resolve include problems.</p></li>
99
100
<li><p>Keep the include lines alphabetically sorted.</p></li>
0 commit comments