Source compatibility report for the args4j library between 2.0.8 and 2.0.9 versions
Test Info
Library Name | args4j |
Version #1 | 2.0.8 |
Version #2 | 2.0.9 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 137 / 26 |
---|
Verdict | Incompatible (4.4%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 30 |
---|
Removed Methods | High | 5 |
---|
Problems with Data Types | High | 2 |
---|
Medium | 2 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Added Methods (30)
args4j-2.0.9.jar, ByteOptionHandler.class
package org.kohsuke.args4j.spi
ByteOptionHandler.ByteOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/ByteOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
ByteOptionHandler.parse ( String argument ) : Byte
[mangled: org/kohsuke/args4j/spi/ByteOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Byte;]
ByteOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/ByteOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, CharOptionHandler.class
package org.kohsuke.args4j.spi
CharOptionHandler.CharOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/CharOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
CharOptionHandler.parse ( String argument ) : Character
[mangled: org/kohsuke/args4j/spi/CharOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Character;]
CharOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/CharOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, DoubleOptionHandler.class
package org.kohsuke.args4j.spi
DoubleOptionHandler.parse ( String argument ) : Double
[mangled: org/kohsuke/args4j/spi/DoubleOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Double;]
DoubleOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/DoubleOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, FloatOptionHandler.class
package org.kohsuke.args4j.spi
FloatOptionHandler.FloatOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/FloatOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
FloatOptionHandler.parse ( String argument ) : Float
[mangled: org/kohsuke/args4j/spi/FloatOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Float;]
FloatOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/FloatOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, IntOptionHandler.class
package org.kohsuke.args4j.spi
IntOptionHandler.parse ( String argument ) : Integer
[mangled: org/kohsuke/args4j/spi/IntOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Integer;]
IntOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/IntOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, LongOptionHandler.class
package org.kohsuke.args4j.spi
LongOptionHandler.LongOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/LongOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
LongOptionHandler.parse ( String argument ) : Long
[mangled: org/kohsuke/args4j/spi/LongOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Long;]
LongOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/LongOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
args4j-2.0.9.jar, MapOptionHandler.class
package org.kohsuke.args4j.spi
MapOptionHandler.getDefaultMetaVariable ( ) : String
[mangled: org/kohsuke/args4j/spi/MapOptionHandler.getDefaultMetaVariable:()Ljava/lang/String;]
MapOptionHandler.MapOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/MapOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
MapOptionHandler.parseArguments ( Parameters params ) : int
[mangled: org/kohsuke/args4j/spi/MapOptionHandler.parseArguments:(Lorg/kohsuke/args4j/spi/Parameters;)I]
args4j-2.0.9.jar, MapSetter.class
package org.kohsuke.args4j
MapSetter.addValue ( Object value ) : void
[mangled: org/kohsuke/args4j/MapSetter.addValue:(Ljava/lang/Object;)V]
MapSetter.getType ( ) : Class
[mangled: org/kohsuke/args4j/MapSetter.getType:()Ljava/lang/Class;]
MapSetter.isMultiValued ( ) : boolean
[mangled: org/kohsuke/args4j/MapSetter.isMultiValued:()Z]
MapSetter.MapSetter ( Object bean, Field f )
[mangled: org/kohsuke/args4j/MapSetter."<init>":(Ljava/lang/Object;Ljava/lang/reflect/Field;)V]
args4j-2.0.9.jar, OneArgumentOptionHandler.class
package org.kohsuke.args4j.spi
OneArgumentOptionHandler.getDefaultMetaVariable ( ) : String
[mangled: org/kohsuke/args4j/spi/OneArgumentOptionHandler.getDefaultMetaVariable:()Ljava/lang/String;]
OneArgumentOptionHandler.OneArgumentOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/OneArgumentOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
OneArgumentOptionHandler.parse ( String p1 ) [abstract] : Object
[mangled: org/kohsuke/args4j/spi/OneArgumentOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
OneArgumentOptionHandler.parseArguments ( Parameters params ) : int
[mangled: org/kohsuke/args4j/spi/OneArgumentOptionHandler.parseArguments:(Lorg/kohsuke/args4j/spi/Parameters;)I]
args4j-2.0.9.jar, ShortOptionHandler.class
package org.kohsuke.args4j.spi
ShortOptionHandler.parse ( String argument ) : Short
[mangled: org/kohsuke/args4j/spi/ShortOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Short;]
ShortOptionHandler.parse ( String x0 ) : Object
[mangled: org/kohsuke/args4j/spi/ShortOptionHandler.parse:(Ljava/lang/String;)Ljava/lang/Object;]
ShortOptionHandler.ShortOptionHandler ( CmdLineParser parser, OptionDef option, Setter setter )
[mangled: org/kohsuke/args4j/spi/ShortOptionHandler."<init>":(Lorg/kohsuke/args4j/CmdLineParser;Lorg/kohsuke/args4j/OptionDef;Lorg/kohsuke/args4j/spi/Setter;)V]
to the top
Removed Methods (5)
args4j-2.0.8.jar, Ant.class
package org.kohsuke.args4j
Ant.name ( ) [abstract] : String
[mangled: org/kohsuke/args4j/Ant.name:()Ljava/lang/String;]
Ant.type ( ) [abstract] : Ant.Kind
[mangled: org/kohsuke/args4j/Ant.type:()Lorg/kohsuke/args4j/Ant$Kind;]
Ant.usage ( ) [abstract] : String
[mangled: org/kohsuke/args4j/Ant.usage:()Ljava/lang/String;]
args4j-2.0.8.jar, Kind.class
package org.kohsuke.args4j
Ant.Kind.valueOf ( String name ) [static] : Ant.Kind
[mangled: org/kohsuke/args4j/Ant.Kind.valueOf:(Ljava/lang/String;)Lorg/kohsuke/args4j/Ant$Kind;]
Ant.Kind.values ( ) [static] : Ant.Kind[ ]
[mangled: org/kohsuke/args4j/Ant.Kind.values:()[Lorg/kohsuke/args4j/Ant$Kind;]
to the top
Problems with Data Types, High Severity (2)
args4j-2.0.8.jar
package org.kohsuke.args4j
[+] Ant (1)
| Change | Effect |
---|
1 | This interface has been removed. | Recompilation of a client program may be terminated with the message: cannot find class Ant. |
[+] affected methods (3)
name ( )This abstract method is from 'Ant' interface.
type ( )This abstract method is from 'Ant' interface.
usage ( )This abstract method is from 'Ant' interface.
[+] Ant.Kind (1)
| Change | Effect |
---|
1 | This class has been removed. | Recompilation of a client program may be terminated with the message: cannot find class Ant.Kind. |
[+] affected methods (2)
valueOf ( String )This method is from 'Ant.Kind' class.
values ( )This method is from 'Ant.Kind' class.
to the top
Problems with Data Types, Medium Severity (2)
args4j-2.0.8.jar
package org.kohsuke.args4j.spi
[+] DoubleOptionHandler (1)
| Change | Effect |
---|
1 | Superclass has been changed from OptionHandler to OneArgumentOptionHandler. | 1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in DoubleOptionHandler. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous. |
[+] affected methods (1)
DoubleOptionHandler ( CmdLineParser, OptionDef, Setter )This constructor is from 'DoubleOptionHandler' class.
[+] IntOptionHandler (1)
| Change | Effect |
---|
1 | Superclass has been changed from OptionHandler to OneArgumentOptionHandler. | 1) Recompilation of a client program may be terminated with the message: cannot find variable (or method) in IntOptionHandler. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class. Recompilation of a client class may be terminated with the message: reference to variable is ambiguous. |
[+] affected methods (1)
IntOptionHandler ( CmdLineParser, OptionDef, Setter )This constructor is from 'IntOptionHandler' class.
to the top
Java ARchives (1)
args4j-2.0.8.jar
to the top