From 489672dfac7efc78fc239ba7c2dfc82f1c5fbeab Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sat, 24 Oct 2026 15:41:48 -0700 Subject: Finish chapter numbering, retire combined chapter 24, and update documentation --- chapter28a/README.ja.md | 9 ++++++--- chapter28a/README.md | 9 ++++++--- chapter28a/pom.xml | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'chapter28a') 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 @@ simple 1.0 - chapter-modules + chapter28a jar Modules and Lazy Class Initialization -- cgit v1.2.3