src/share/classes/com/sun/tools/javac/jvm/Target.java

changeset 1395
9bce0c73583d
parent 1157
3809292620c9
child 1442
fcf89720ae71
equal deleted inserted replaced
1394:dbc94b8363dd 1395:9bce0c73583d
1 /* 1 /*
2 * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
66 JDK1_6("1.6", 50, 0), 66 JDK1_6("1.6", 50, 0),
67 67
68 /** JDK 7. */ 68 /** JDK 7. */
69 JDK1_7("1.7", 51, 0), 69 JDK1_7("1.7", 51, 0),
70 70
71 /** JDK 8. */ // For now, a clone of 7 71 /** JDK 8. */
72 JDK1_8("1.8", 51, 0); 72 JDK1_8("1.8", 52, 0);
73 73
74 private static final Context.Key<Target> targetKey = 74 private static final Context.Key<Target> targetKey =
75 new Context.Key<Target>(); 75 new Context.Key<Target>();
76 76
77 public static Target instance(Context context) { 77 public static Target instance(Context context) {

mercurial