On 02/03/2015 03:40 PM, Martin Buchholz wrote:
On Tue, Feb 3, 2015 at 1:17 PM, Jonathan Gibbons
<[email protected] <mailto:[email protected]>> wrote:
The suggestion to be able to point at a JRE is a new and
interesting one. Thanks.
Seems natural to me. Analogous to the -testjdk and -compilejdk flags
of jtreg. In the transition-to-modules world it seems more important,
since it becomes harder to come up with the right -bootclasspath flag
(or whatever flag follows it).
Maybe "jrt" could be generalized. Instead of simply "the" java run
time of the current jdk, it could additionally be a function
jrt(jredir) that somehow gives you the runtime classes of any jre, in
a way that javac can understand.
Generally, the idea of pointing at a JDK/JRE was something we were
considering going forward; what's new is consider it for "going back" as
well, at least for javac.
-- Jon