Ship jdk7 ct.sym with jdk8?

Martin Buchholz martinrb at google.com
Mon Mar 11 16:29:59 PDT 2013


If you want to build some java software that targets jdk6, the natural way
to do it is via -target 6.  But then javac will complain it also wants
-source 6 (that's easy to fix) but also a bootclasspath for jdk6, which is
harder for the user to provide.

One obvious way to make the user's life easier is to ship a ct6.sym,
ct7.sym, ct8.sym,
where each .sym contains the deltas relative to the previous version.  Then
we could have -target 6 default to compiling against ct6.sym, while -target
8 will default to ct8.sym:ct7.sym:ct6.sym

Perhaps you are already doing this kind of thing to support profiles in
jdk8?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20130311/e7a2b8ce/attachment.html 


More information about the compiler-dev mailing list