mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com> Co-authored-by: Alex Buckley <alex.buckley@oracle.com> Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com> Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com> Co-authored-by: James Laskey <james.laskey@oracle.com> Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com> Co-authored-by: Mandy Chung <mandy.chung@oracle.com> Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com> Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com> Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com> Reviewed-by: jlahoda, ksrini
This commit is contained in:
parent
f141ae6666
commit
8bc2b3ff3a
80 changed files with 2575 additions and 2861 deletions
|
@ -105,14 +105,18 @@ public class ProfileOptionTest {
|
|||
JavaFileObject fo = new StringJavaFileObject("Test.java", "class Test { }");
|
||||
for (Target t: Target.values()) {
|
||||
switch (t) {
|
||||
case JDK1_1: case JDK1_2: // no equivalent -source
|
||||
case JDK1_1:
|
||||
case JDK1_2:
|
||||
case JDK1_3:
|
||||
case JDK1_4:
|
||||
case JDK1_5: // not supported
|
||||
continue;
|
||||
}
|
||||
|
||||
for (Profile p: Profile.values()) {
|
||||
List<String> opts = new ArrayList<>();
|
||||
opts.addAll(Arrays.asList("-source", t.name, "-target", t.name));
|
||||
opts.add("-Xlint:-options"); // dont warn about no -bootclasspath
|
||||
opts.add("-Xlint:-options"); // don't warn about no -bootclasspath
|
||||
if (p != Profile.DEFAULT)
|
||||
opts.addAll(Arrays.asList("-profile", p.name));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue