Binary compatibility report for the args4j library between 2.0.7 and 2.0.8 versions
Test Info
Library Name | args4j |
Version #1 | 2.0.7 |
Version #2 | 2.0.8 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 115 / 24 |
---|
Verdict | Incompatible (23.9%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 36 |
---|
Removed Methods | High | 13 |
---|
Problems with Data Types | High | 2 |
---|
Medium | 2 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 1 |
Added Methods (36)
args4j-2.0.8.jar, Argument.class
package org.kohsuke.args4j
Argument.handler ( ) [abstract] : Class
[mangled: org/kohsuke/args4j/Argument.handler:()Ljava/lang/Class;]
Argument.index ( ) [abstract] : int
[mangled: org/kohsuke/args4j/Argument.index:()I]
Argument.metaVar ( ) [abstract] : String
[mangled: org/kohsuke/args4j/Argument.metaVar:()Ljava/lang/String;]
Argument.multiValued ( ) [abstract] : boolean
[mangled: org/kohsuke/args4j/Argument.multiValued:()Z]
Argument.required ( ) [abstract] : boolean
[mangled: org/kohsuke/args4j/Argument.required:()Z]
Argument.usage ( ) [abstract] : String
[mangled: org/kohsuke/args4j/Argument.usage:()Ljava/lang/String;]
args4j-2.0.8.jar, BooleanOptionHandler.class
package org.kohsuke.args4j.spi
BooleanOptionHandler.BooleanOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/BooleanOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, CmdLineParser.class
package org.kohsuke.args4j
CmdLineParser.createOptionHandler ( OptionDef o, Setter setter ) : OptionHandler
[mangled: org/kohsuke/args4j/CmdLineParser.createOptionHandler:(Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)Lorg/kohsuke/args4j/spi/OptionHandler;]
CmdLineParser.printSingleLineUsage ( OutputStream out ) : void
[mangled: org/kohsuke/args4j/CmdLineParser.printSingleLineUsage:(Ljava/io/OutputStream;)V]
CmdLineParser.printSingleLineUsage ( Writer w, ResourceBundle rb ) : void
[mangled: org/kohsuke/args4j/CmdLineParser.printSingleLineUsage:(Ljava/io/Writer;Ljava/util/ResourceBundle;)V]
CmdLineParser.stopOptionParsing ( ) : void
[mangled: org/kohsuke/args4j/CmdLineParser.stopOptionParsing:()V]
args4j-2.0.8.jar, DoubleOptionHandler.class
package org.kohsuke.args4j.spi
DoubleOptionHandler.DoubleOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/DoubleOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, EnumOptionHandler.class
package org.kohsuke.args4j.spi
EnumOptionHandler.EnumOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter, Class enumType )
[mangled: org/kohsuke/args4j/spi/EnumOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;Ljava/lang/Class;)V]
args4j-2.0.8.jar, FileOptionHandler.class
package org.kohsuke.args4j.spi
FileOptionHandler.FileOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/FileOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, IntOptionHandler.class
package org.kohsuke.args4j.spi
IntOptionHandler.IntOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/IntOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, NamedOptionDef.class
package org.kohsuke.args4j
NamedOptionDef.aliases ( ) : String[ ]
[mangled: org/kohsuke/args4j/NamedOptionDef.aliases:()[Ljava/lang/String;]
NamedOptionDef.isArgument ( ) : boolean
[mangled: org/kohsuke/args4j/NamedOptionDef.isArgument:()Z]
NamedOptionDef.name ( ) : String
[mangled: org/kohsuke/args4j/NamedOptionDef.name:()Ljava/lang/String;]
NamedOptionDef.NamedOptionDef ( Option o, boolean forceMultiValued )
[mangled: org/kohsuke/args4j/NamedOptionDef."<init>":(Lorg/kohsuke/args4j/Option;Z)V]
NamedOptionDef.toString ( ) : String
[mangled: org/kohsuke/args4j/NamedOptionDef.toString:()Ljava/lang/String;]
args4j-2.0.8.jar, Option.class
package org.kohsuke.args4j
Option.aliases ( ) [abstract] : String[ ]
[mangled: org/kohsuke/args4j/Option.aliases:()[Ljava/lang/String;]
Option.multiValued ( ) [abstract] : boolean
[mangled: org/kohsuke/args4j/Option.multiValued:()Z]
args4j-2.0.8.jar, OptionDef.class
package org.kohsuke.args4j
OptionDef.handler ( ) : Class
[mangled: org/kohsuke/args4j/OptionDef.handler:()Ljava/lang/Class;]
OptionDef.isArgument ( ) : boolean
[mangled: org/kohsuke/args4j/OptionDef.isArgument:()Z]
OptionDef.isMultiValued ( ) : boolean
[mangled: org/kohsuke/args4j/OptionDef.isMultiValued:()Z]
OptionDef.metaVar ( ) : String
[mangled: org/kohsuke/args4j/OptionDef.metaVar:()Ljava/lang/String;]
OptionDef.OptionDef ( Argument a, boolean forceMultiValued )
[mangled: org/kohsuke/args4j/OptionDef."<init>":(Lorg/kohsuke/args4j/Argument;Z)V]
OptionDef.OptionDef ( String usage, String metaVar, boolean required, Class handler, boolean multiValued )
[mangled: org/kohsuke/args4j/OptionDef."<init>":(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Class;Z)V]
OptionDef.required ( ) : boolean
[mangled: org/kohsuke/args4j/OptionDef.required:()Z]
OptionDef.toString ( ) : String
[mangled: org/kohsuke/args4j/OptionDef.toString:()Ljava/lang/String;]
OptionDef.usage ( ) : String
[mangled: org/kohsuke/args4j/OptionDef.usage:()Ljava/lang/String;]
args4j-2.0.8.jar, OptionHandler.class
package org.kohsuke.args4j.spi
OptionHandler.getNameAndMeta ( ResourceBundle rb ) : String
[mangled: org/kohsuke/args4j/spi/OptionHandler.getNameAndMeta:(Ljava/util/ResourceBundle;)Ljava/lang/String;]
OptionHandler.OptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/OptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, Setter.class
package org.kohsuke.args4j.spi
Setter.isMultiValued ( ) [abstract] : boolean
[mangled: org/kohsuke/args4j/spi/Setter.isMultiValued:()Z]
args4j-2.0.8.jar, StopOptionHandler.class
package org.kohsuke.args4j.spi
StopOptionHandler.StopOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/StopOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.8.jar, StringOptionHandler.class
package org.kohsuke.args4j.spi
StringOptionHandler.StringOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/StringOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
to the top
Removed Methods (13)
args4j-2.0.7.jar, BooleanOptionHandler.class
package org.kohsuke.args4j.spi
BooleanOptionHandler.BooleanOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/BooleanOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, CmdLineParser.class
package org.kohsuke.args4j
CmdLineParser.createOptionHandler ( Option o, Setter setter ) : OptionHandler
[mangled: org/kohsuke/args4j/CmdLineParser.createOptionHandler:(Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)Lorg/kohsuke/args4j/spi/OptionHandler;]
args4j-2.0.7.jar, DoubleOptionHandler.class
package org.kohsuke.args4j.spi
DoubleOptionHandler.DoubleOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/DoubleOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, EnumOptionHandler.class
package org.kohsuke.args4j.spi
EnumOptionHandler.EnumOptionHandler ( CmdLineParser parser, Option option, Setter setter, Class enumType )
[mangled: org/kohsuke/args4j/spi/EnumOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;Ljava/lang/Class;)V]
args4j-2.0.7.jar, FileOptionHandler.class
package org.kohsuke.args4j.spi
FileOptionHandler.FileOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/FileOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, IntOptionHandler.class
package org.kohsuke.args4j.spi
IntOptionHandler.IntOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/IntOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, OptionHandler.class
package org.kohsuke.args4j.spi
OptionHandler.OptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/OptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, Parameters.class
package org.kohsuke.args4j.spi
Parameters.getIntParameter ( int idx ) : int
[mangled: org/kohsuke/args4j/spi/Parameters.getIntParameter:(I)I]
Parameters.getOptionName ( ) [abstract] : String
[mangled: org/kohsuke/args4j/spi/Parameters.getOptionName:()Ljava/lang/String;]
Parameters.getParameterCount ( ) [abstract] : int
[mangled: org/kohsuke/args4j/spi/Parameters.getParameterCount:()I]
Parameters.Parameters ( )
[mangled: org/kohsuke/args4j/spi/Parameters."<init>":()V]
args4j-2.0.7.jar, StopOptionHandler.class
package org.kohsuke.args4j.spi
StopOptionHandler.StopOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/StopOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
args4j-2.0.7.jar, StringOptionHandler.class
package org.kohsuke.args4j.spi
StringOptionHandler.StringOptionHandler ( CmdLineParser parser, Option option, Setter setter )
[mangled: org/kohsuke/args4j/spi/StringOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/Option;Lorg/kohsuke/args4j/spi/Setter;)V]
to the top
Problems with Data Types, High Severity (2)
args4j-2.0.7.jar
package org.kohsuke.args4j.spi
[+] OptionHandler (1)
| Change | Effect |
---|
1 | Type of field option has been changed from org.kohsuke.args4j.Option to org.kohsuke.args4j.OptionDef. | A client program may be interrupted by NoSuchFieldError exception. |
[+] affected methods (3)
getDefaultMetaVariable ( )This abstract method is from 'OptionHandler' abstract class.
getMetaVariable ( ResourceBundle )This method is from 'OptionHandler' abstract class.
parseArguments ( Parameters )This abstract method is from 'OptionHandler' abstract class.
[+] Parameters (1)
| Change | Effect |
---|
1 | This class became interface. | A client program may be interrupted by IncompatibleClassChangeError or InstantiationError exception dependent on the usage of this class. |
[+] affected methods (9)
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'p1' of this abstract method has type 'Parameters'.
getParameter ( int )This abstract method is from 'Parameters' abstract class.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
parseArguments ( Parameters )1st parameter 'params' of this method has type 'Parameters'.
to the top
Problems with Data Types, Medium Severity (2)
args4j-2.0.7.jar
package org.kohsuke.args4j
[+] Option (1)
| Change | Effect |
---|
1 | Abstract method aliases ( ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method addOption ( Setter, Option ) and may not be implemented by old clients. |
[+] affected methods (5)
handler ( )This abstract method is from 'Option' interface.
metaVar ( )This abstract method is from 'Option' interface.
name ( )This abstract method is from 'Option' interface.
required ( )This abstract method is from 'Option' interface.
usage ( )This abstract method is from 'Option' interface.
package org.kohsuke.args4j.spi
[+] Setter (1)
| Change | Effect |
---|
1 | Abstract method isMultiValued ( ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method addOption ( Setter, Option ) and may not be implemented by old clients. |
[+] affected methods (5)
getDefaultMetaVariable ( )Field 'this.setter' in the object of this abstract method has type 'Setter'.
getMetaVariable ( ResourceBundle )Field 'this.setter' in the object of this method has type 'Setter'.
parseArguments ( Parameters )Field 'this.setter' in the object of this abstract method has type 'Setter'.
addValue ( Object )This abstract method is from 'Setter' interface.
getType ( )This abstract method is from 'Setter' interface.
to the top
Other Changes in Data Types (1)
args4j-2.0.7.jar
package org.kohsuke.args4j
[+] Option (1)
| Change | Effect |
---|
1 | Abstract method multiValued ( ) has been added to this interface. | No effect. |
[+] affected methods (5)
handler ( )This abstract method is from 'Option' interface.
metaVar ( )This abstract method is from 'Option' interface.
name ( )This abstract method is from 'Option' interface.
required ( )This abstract method is from 'Option' interface.
usage ( )This abstract method is from 'Option' interface.
to the top
Java ARchives (1)
args4j-2.0.7.jar
to the top