Skip to content

Commit 6ba45ae

Browse files
committed
Fix links
1 parent db46bae commit 6ba45ae

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

java-17/auto/few-modules/together/README.md

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

1417
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.
1518

0 commit comments

Comments
 (0)