Message12173
Accessing classes in the run-time image is very easy with JDK 9 and newer. Here's a simple example that lists all resources in all modules in the run-time image. More details on this in JEP 220.
FileSystem jrtfs = FileSystems.getFileSystem(URI.create("jrt:/"));
Path top = jrtfs.getPath("/");
Files.walk(top).forEach(System.out::println); |
|
Date |
User |
Action |
Args |
2018-11-04 20:01:41 | alanb | set | messageid: <1541361701.25.0.788709270274.issue2362@psf.upfronthosting.co.za> |
2018-11-04 20:01:41 | alanb | set | recipients:
+ alanb, fwierzbicki, amak, zyasoft, jeff.allen, darjus, rpan, sfelts, mr |
2018-11-04 20:01:41 | alanb | link | issue2362 messages |
2018-11-04 20:01:40 | alanb | create | |
|