On 18/04/18 16:21, Gary Gregory wrote: > Ignore my previous email ;-) BUT the MAJOR name should be " MAJOR_11" since > Java has a new versioning scheme. Same for "MAJOR_10" and we should add > MAJOR_9 > and deprecate MAJOR_1_9 if is has been released.
I'll make those changes. Mark > > Gary > > ---------- Forwarded message ---------- > From: <ma...@apache.org> > Date: Wed, Apr 18, 2018 at 7:55 AM > Subject: svn commit: r1829450 - > /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Const.java > To: comm...@commons.apache.org > > > Author: markt > Date: Wed Apr 18 13:55:05 2018 > New Revision: 1829450 > > URL: http://svn.apache.org/viewvc?rev=1829450&view=rev > Log: > Add class version constants for Java 11. > > Modified: > commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Const.java > > Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Const.java > URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/ > main/java/org/apache/bcel/Const.java?rev=1829450&r1= > 1829449&r2=1829450&view=diff > ============================================================ > ================== > --- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Const.java > (original) > +++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/Const.java Wed > Apr 18 13:55:05 2018 > @@ -136,6 +136,16 @@ public final class Const { > * */ > public static final short MINOR_1_10 = 0; > > + /** Major version number of class files for Java 11. > + * @see #MINOR_1_11 > + * */ > + public static final short MAJOR_1_11 = 55; > + > + /** Minor version number of class files for Java 11. > + * @see #MAJOR_1_11 > + * */ > + public static final short MINOR_1_11 = 0; > + > /** Default major version number. Class file is for Java 1.1. > * @see #MAJOR_1_1 > * */ > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org