Binary compatibility report for the dropwizard-protobuf library between 2.1.11 and 3.0.0-1 versions
Test Info
Library Name | dropwizard-protobuf |
Version #1 | 2.1.11 |
Version #2 | 3.0.0-1 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 131 / 9 |
Compatibility |
93.3% |
Problem Summary
| Severity | Count |
Added Methods | - | 11 |
Removed Methods | High | 4 |
Problems with Data Types | High | 1 |
Medium | 0 |
Low | 2 |
Problems with Methods | High | 3 |
Medium | 0 |
Low | 0 |
Added Methods 11
dropwizard-protobuf-3.0.0-1.jar, Builder.class
package io.dropwizard.jersey.protobuf.protos
DropwizardProtos.ErrorMessage.Builder.clear ( ) : GeneratedMessageV3.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.clear:()Lcom/google/protobuf/GeneratedMessageV3$Builder;
DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields ( UnknownFieldSet p1 ) : AbstractMessage.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lcom/google/protobuf/AbstractMessage$Builder;
DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields ( UnknownFieldSet p1 ) : GeneratedMessageV3.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lcom/google/protobuf/GeneratedMessageV3$Builder;
DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields ( UnknownFieldSet p1 ) : Message.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lcom/google/protobuf/Message$Builder;
DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields ( UnknownFieldSet unknownFields ) : DropwizardProtos.ErrorMessage.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.mergeUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lio/dropwizard/jersey/protobuf/protos/DropwizardProtos$ErrorMessage$Builder;
DropwizardProtos.ErrorMessage.Builder.setUnknownFields ( UnknownFieldSet p1 ) : GeneratedMessageV3.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.setUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lcom/google/protobuf/GeneratedMessageV3$Builder;
DropwizardProtos.ErrorMessage.Builder.setUnknownFields ( UnknownFieldSet p1 ) : Message.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.setUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lcom/google/protobuf/Message$Builder;
DropwizardProtos.ErrorMessage.Builder.setUnknownFields ( UnknownFieldSet unknownFields ) : DropwizardProtos.ErrorMessage.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.setUnknownFields:(Lcom/google/protobuf/UnknownFieldSet;)Lio/dropwizard/jersey/protobuf/protos/DropwizardProtos$ErrorMessage$Builder;
dropwizard-protobuf-3.0.0-1.jar, ProtobufBundle.class
package io.dropwizard.jersey.protobuf
ProtobufBundle<C>.initialize ( Bootstrap<?> bootstrap ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.initialize:(Lio/dropwizard/core/setup/Bootstrap;)V
ProtobufBundle<C>.run ( C configuration, Environment environment ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.run:(Lio/dropwizard/core/Configuration;Lio/dropwizard/core/setup/Environment;)V
ProtobufBundle<C>.run ( Object p1, Environment p2 ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.run:(Ljava/lang/Object;Lio/dropwizard/core/setup/Environment;)V
to the top
Removed Methods 4
dropwizard-protobuf-2.1.11.jar, Builder.class
package io.dropwizard.jersey.protobuf.protos
DropwizardProtos.ErrorMessage.Builder.clear ( ) : GeneratedMessage.Builder
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.clear:()Lcom/google/protobuf/GeneratedMessage$Builder;
dropwizard-protobuf-2.1.11.jar, ProtobufBundle.class
package io.dropwizard.jersey.protobuf
ProtobufBundle<C>.initialize ( Bootstrap<?> bootstrap ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.initialize:(Lio/dropwizard/setup/Bootstrap;)V
ProtobufBundle<C>.run ( C configuration, Environment environment ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
ProtobufBundle<C>.run ( Object p1, Environment p2 ) : void
io/dropwizard/jersey/protobuf/ProtobufBundle.run:(Ljava/lang/Object;Lio/dropwizard/setup/Environment;)V
to the top
Problems with Data Types, High Severity 1
dropwizard-protobuf-2.1.11.jar
package io.dropwizard.jersey.protobuf
[+] class ProtobufBundle<C> 1
| Change | Effect |
---|
1 |
Removed super-interface io.dropwizard.ConfiguredBundle<C>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 1 (0.8%)
ProtobufBundle<C>.ProtobufBundle<C> ( )This constructor is from 'ProtobufBundle<C>' class.
to the top
Problems with Methods, High Severity 3
dropwizard-protobuf-2.1.11.jar, Builder.class
package io.dropwizard.jersey.protobuf.protos
[+] DropwizardProtos.ErrorMessage.Builder.clear ( ) : DropwizardProtos.ErrorMessage.Builder 1
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.clear:()Lio/dropwizard/jersey/protobuf/protos/DropwizardProtos$ErrorMessage$Builder;
| Change | Effect |
---|
1 |
Return value type has been changed from DropwizardProtos.ErrorMessage.Builder to com.google.protobuf.GeneratedMessageV3.Builder. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
[+] DropwizardProtos.ErrorMessage.Builder.internalGetFieldAccessorTable ( ) : GeneratedMessage.FieldAccessorTable 1
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.Builder.internalGetFieldAccessorTable:()Lcom/google/protobuf/GeneratedMessage$FieldAccessorTable;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.protobuf.GeneratedMessage.FieldAccessorTable to com.google.protobuf.GeneratedMessageV3.FieldAccessorTable. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
dropwizard-protobuf-2.1.11.jar, ErrorMessage.class
package io.dropwizard.jersey.protobuf.protos
[+] DropwizardProtos.ErrorMessage.internalGetFieldAccessorTable ( ) : GeneratedMessage.FieldAccessorTable 1
io/dropwizard/jersey/protobuf/protos/DropwizardProtos.ErrorMessage.internalGetFieldAccessorTable:()Lcom/google/protobuf/GeneratedMessage$FieldAccessorTable;
| Change | Effect |
---|
1 |
Return value type has been changed from com.google.protobuf.GeneratedMessage.FieldAccessorTable to com.google.protobuf.GeneratedMessageV3.FieldAccessorTable. |
This method has been removed because the return type is part of the method signature. A client program may be interrupted by NoSuchMethodError exception. |
to the top
Problems with Data Types, Low Severity 2
dropwizard-protobuf-2.1.11.jar
package io.dropwizard.jersey.protobuf.protos
[+] class DropwizardProtos.ErrorMessage 1
| Change | Effect |
---|
1 |
Superclass has been changed from com.google.protobuf.GeneratedMessage to com.google.protobuf.GeneratedMessageV3. |
1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 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 and cause IncompatibleClassChangeError exception. |
[+] affected methods: 44 (33.6%)
DropwizardProtos.ErrorMessage.Builder.build ( )Return value of this method is of type 'DropwizardProtos.ErrorMessage'.
DropwizardProtos.ErrorMessage.Builder.buildPartial ( )Return value of this method is of type 'DropwizardProtos.ErrorMessage'.
DropwizardProtos.ErrorMessage.Builder.getDefaultInstanceForType ( )Return value of this method is of type 'DropwizardProtos.ErrorMessage'.
DropwizardProtos.ErrorMessage.Builder.mergeFrom ( DropwizardProtos.ErrorMessage other )1st parameter 'other' of this method is of type 'DropwizardProtos.ErrorMessage'.
DropwizardProtos.ErrorMessage.equals ( Object obj )This method is from 'DropwizardProtos.ErrorMessage' class.
...
[+] class DropwizardProtos.ErrorMessage.Builder 1
| Change | Effect |
---|
1 |
Superclass has been changed from com.google.protobuf.GeneratedMessage.Builder<DropwizardProtos.ErrorMessage.Builder> to com.google.protobuf.GeneratedMessageV3.Builder<DropwizardProtos.ErrorMessage.Builder>. |
1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 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 and cause IncompatibleClassChangeError exception. |
[+] affected methods: 45 (34.4%)
DropwizardProtos.ErrorMessage.Builder.build ( )This method is from 'DropwizardProtos.ErrorMessage.Builder' class.
DropwizardProtos.ErrorMessage.Builder.build ( )This method is from 'DropwizardProtos.ErrorMessage.Builder' class.
DropwizardProtos.ErrorMessage.Builder.build ( )This method is from 'DropwizardProtos.ErrorMessage.Builder' class.
DropwizardProtos.ErrorMessage.Builder.buildPartial ( )This method is from 'DropwizardProtos.ErrorMessage.Builder' class.
DropwizardProtos.ErrorMessage.Builder.buildPartial ( )This method is from 'DropwizardProtos.ErrorMessage.Builder' class.
...
to the top
Java Archives 1
dropwizard-protobuf-2.1.11.jar
to the top