class compilerJava::ClassPath
sys::Obj compilerJava::ClassPath
ClassPath models a Java classpath to resolve package names to types. Since the standard Java APIs don't expose this, we have go thru a lot of pain.
- close
-
This close()
- dump
- forRuntime
-
static ClassPath forRuntime(File[] addCp := File#.emptyList())
Get the classpath for the current Java runtime.
The following are also searched when constructing the class path:
- {fan}lib/java/ext
- {fan}lib/java/ext/{plat}
- Locations specified in the
-classpath
(as made available in thejava.class.path
system property) - Any additional locations specified via the
addCp
parameter
- main
-
static Void main()
- packages
-
Str:ClassPathPackage packages()
- toStr
-
virtual override Str toStr()
Return list of sources.