Skip to content

Instantly share code, notes, and snippets.

View klxfeiyang's full-sized avatar

Fei Yang klxfeiyang

  • Irvine, CA
  • 05:17 (UTC -12:00)
View GitHub Profile
@klxfeiyang
klxfeiyang / CLoaderExample.java
Created January 31, 2023 01:58 — forked from andrewromanenco/CLoaderExample.java
Demo for defining class loaders in Java
import static java.lang.System.out;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* Demo code for http://www.romanenco.com/defining-class-loader-java
* Compile and run from command line: