The Rhino JavaScript interpreter has a built-in load() function that takes a path to another JavaScript file and imports all its symbols. Very useful for even rudiemtary organization
But I could find neither hide nor hair of such a think in the Java 6 implementation of Rhino. And looking through the source for Java 7 I saw nothing either. Did this not get brought along?
(BTW, how cool is it that I can now just download the full source for Java, including all the internal Sun implementations? Kick ass, finally.)
Update: it ain't in there