public void setVersion ( int major , int minor ) throws IllegalArgumentException { if ( major != JDK1_1_MAJOR_VERSION || minor != JDK1_1_MINOR_VERSION ) { throw new IllegalArgumentException ( "Version " + major + ", " + minor + " is not supported" ) ; } mMajorVersion = major ; mMinorVersion = minor ; }
Sets the version to use when writing the generated ClassFile . Currently only version 45 3 is supported and is set by default .