Class ClasspathJars

java.lang.Object
com.hloader.ClasspathJars

public final class ClasspathJars extends Object
Jars added to the runtime classpath after the JVM started (mod jars, appended via Instrumentation.appendToSystemClassLoaderSearch) don't show up in the java.class.path system property, which only reflects the original -cp. Code that needs to enumerate every jar actually on the classpath - such as com.hloader.mixin.HloaderBytecodeProvider reading raw bytecode - needs both; this is where the dynamically-appended half is tracked.
  • Method Details

    • register

      public static void register(Path jar)
    • extra

      public static List<Path> extra()