Skip to content

Bootstrapper

Andy Bao edited this page Oct 7, 2017 · 1 revision

Bootstrapper

To activate all the available features, this program must patch the Java standard library.

Automatic patching

This program will attempt to automatically patch the standard library upon start-up. It will make no permanent changes to Java as the patches are discarded when the program is shut down.

It applies these patches by overriding classes in the standard library:

  • On systems running Java 8 and below, it will attempt to rewrite the bootstrap classpath.
  • On systems running Java 9 and above, it will patch the java.base module and add some extra read permissions to the java.base module.

Manual patching

In some cases, you may need to manually patch the Java standard library. For example, when using this program in conjunction with some build tools, you may need to manually specify the bootstrap classpath.

The required patches can be found in the program's JAR file, in the patches folder. The patches will also be extracted to the program's data folder when the program is launched.

Using the program without patches

The program will also partially function without applying any patches at all! Some features and bugs may surface however. Known issues when running without patches are listed below:

  • Some sources will not function:
    • MangaSee (chapter date parsing is broken)
Clone this wiki locally