Skip to content

Commit db46bae

Browse files
committed
Fix links
1 parent 9ba65d3 commit db46bae

File tree

2 files changed

+7
-4
lines changed
  • java-17

2 files changed

+7
-4
lines changed

java-17/auto/one-module/java17style/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
---
77
Modules (declared via `module-info.java`):
88
- `auto.onemodule.j17style`:
9-
- [`Main`](src/ru/ispras/j17/auto/onemodule/j8style/Main.java) - a class containing a `main` method creating an instance of the `Cat` class and calling the `Cat::talk` method;
10-
- [`Cat`](src/ru/ispras/j17/auto/onemodule/j8style/Cat.java) - loadable class with the `talk` method, which prints the string *"Meow"* to `stdout`;
11-
- [`CustomClassLoader`](src/ru/ispras/j17/auto/onemodule/j8style/CustomClassLoader.java) - a class that is an implementation of a custom class loader.
9+
- [`Main`](src/ru/ispras/j17/auto/onemodule/j17style/Main.java) - a class containing a `main` method creating an
10+
instance of the `Cat` class and calling the `Cat::talk` method;
11+
- [`Cat`](src/ru/ispras/j17/auto/onemodule/j17style/Cat.java) - loadable class with the `talk` method, which
12+
prints the string *"Meow"* to `stdout`;
13+
- [`CustomClassLoader`](src/ru/ispras/j17/auto/onemodule/j17style/CustomClassLoader.java) - a class that is an
14+
implementation of a custom class loader.
1215

1316
To change the system loader to a custom `CustomClassLoader` in [documentation of the `ClassLoader.getSystemClassLoader()` method](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ClassLoader.html#getSystemClassLoader()) it is written that for this it is necessary for the JVM to pass the name of the new *system class loader* through the argument `java.system.class.loader`, and also to define a public constructor with a parameter of type `ClassLoader`, which will be passed as `AppClassLoader` when created.
1417

java-17/manual/few-modules/separately/with-deps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Modules (declared via `module-info.java`):
1313
- [`Cat`](loadable/src/ru/ispras/j17/manual/fewmodules/separately/withdeps/loadable/Cat.java) - loadable class with
1414
the `talk` method, which prints the string *"Meow"* to `stdout`;
1515
- `manual.fewmodules.separately.withdeps.dependency`:
16-
- [Dog](dependency/src/ru/ispras/j17/manual/fewmodules/separately/withdeps/dependency/Dog.java) - used in the
16+
- [`Dog`](dependency/src/ru/ispras/j17/manual/fewmodules/separately/withdeps/dependency/Dog.java) - used in the
1717
module `manual.fewmodules.separately.withdeps.loadable` class with a `talk` method that prints the string *"Woof"* to `stdout`.
1818

1919
### Run

0 commit comments

Comments
 (0)