1 /* |
1 /* |
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2017, 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 |
108 V45_3(45, 3), // base level for all attributes |
108 V45_3(45, 3), // base level for all attributes |
109 V49(49, 0), // JDK 1.5: enum, generics, annotations |
109 V49(49, 0), // JDK 1.5: enum, generics, annotations |
110 V50(50, 0), // JDK 1.6: stackmaps |
110 V50(50, 0), // JDK 1.6: stackmaps |
111 V51(51, 0), // JDK 1.7 |
111 V51(51, 0), // JDK 1.7 |
112 V52(52, 0), // JDK 1.8: lambda, type annos, param names |
112 V52(52, 0), // JDK 1.8: lambda, type annos, param names |
113 V53(53, 0); // JDK 1.9: modules, indy string concat |
113 V53(53, 0), // JDK 1.9: modules, indy string concat |
|
114 V54(54, 0); // JDK 10 |
114 Version(int major, int minor) { |
115 Version(int major, int minor) { |
115 this.major = major; |
116 this.major = major; |
116 this.minor = minor; |
117 this.minor = minor; |
117 } |
118 } |
118 public final int major, minor; |
119 public final int major, minor; |