summaryrefslogtreecommitdiff
path: root/chapter28a
diff options
context:
space:
mode:
Diffstat (limited to 'chapter28a')
-rw-r--r--chapter28a/README.ja.md9
-rw-r--r--chapter28a/README.md9
-rw-r--r--chapter28a/pom.xml2
3 files changed, 13 insertions, 7 deletions
diff --git a/chapter28a/README.ja.md b/chapter28a/README.ja.md
index 3765eeff..8ae3891c 100644
--- a/chapter28a/README.ja.md
+++ b/chapter28a/README.ja.md
@@ -1,8 +1,11 @@
-# モジュールと遅延クラス初期化
+# 第28a章: モジュールと遅延クラス初期化
+
+[次の章: 分離コンパイル](../chapter28b/README.ja.md)
[English](README.md) | 日本語
-[前: エスケープ解析と未知の呼び出し元](../chapter-escape/README.ja.md)
+[Previous: Chapter 27](../chapter27/README.ja.md) |
+[Next: Chapter 28b](../chapter28b/README.ja.md)
この章では複数のソースファイルを一度にコンパイルします。各ファイルは
一つのクラスと共有オブジェクトを定義し、トップレベルの文は隠れた
@@ -80,7 +83,7 @@ B の初期化が A を使う場合、先に完了できるクラスがありま
リポジトリのルートで次を実行します。
```sh
-make tests CHAPTERS=chapter-modules
+make tests CHAPTERS=chapter28a
```
このディレクトリでは初回に `make lib`、続いて `make tests` を使えます。
diff --git a/chapter28a/README.md b/chapter28a/README.md
index f0fac494..051738b7 100644
--- a/chapter28a/README.md
+++ b/chapter28a/README.md
@@ -1,8 +1,11 @@
-# Modules and Lazy Class Initialization
+# Chapter 28a: Modules and Lazy Class Initialization
English | [日本語](README.ja.md)
-[Previous: Escape Analysis and Unknown Callers](../chapter-escape/README.md)
+[Previous: Chapter 27](../chapter27/README.md) |
+[Next: Chapter 28b](../chapter28b/README.md)
+
+[Next: Separate Compilation](../chapter28b/README.md)
The compiler can now discover several source files and compile them together.
@@ -256,7 +259,7 @@ val scale = read_setting(); // Final binding; value only known at runtime
From the repository root:
```sh
-make tests CHAPTERS=chapter-modules
+make tests CHAPTERS=chapter28a
```
Or, in this directory, `make lib` once for JUnit, then `make tests`. The suite
diff --git a/chapter28a/pom.xml b/chapter28a/pom.xml
index ac516e0b..d12781f6 100644
--- a/chapter28a/pom.xml
+++ b/chapter28a/pom.xml
@@ -8,7 +8,7 @@
<artifactId>simple</artifactId>
<version>1.0</version>
</parent>
- <artifactId>chapter-modules</artifactId>
+ <artifactId>chapter28a</artifactId>
<packaging>jar</packaging>
<name>Modules and Lazy Class Initialization</name>
<properties>