equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2019, 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 |
71 |
71 |
72 /** JDK 12. */ |
72 /** JDK 12. */ |
73 JDK1_12("12", 56, 0), |
73 JDK1_12("12", 56, 0), |
74 |
74 |
75 /** JDK 13. */ |
75 /** JDK 13. */ |
76 JDK1_13("13", 57, 0); |
76 JDK1_13("13", 57, 0), |
|
77 |
|
78 /** JDK 14. */ |
|
79 JDK1_14("14", 58, 0); |
77 |
80 |
78 private static final Context.Key<Target> targetKey = new Context.Key<>(); |
81 private static final Context.Key<Target> targetKey = new Context.Key<>(); |
79 |
82 |
80 public static Target instance(Context context) { |
83 public static Target instance(Context context) { |
81 Target instance = context.get(targetKey); |
84 Target instance = context.get(targetKey); |