Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong broken use detection when dealing with type (un)boxing #62

Open
lmove opened this issue Apr 28, 2022 · 1 comment
Open

Wrong broken use detection when dealing with type (un)boxing #62

lmove opened this issue Apr 28, 2022 · 1 comment

Comments

@lmove
Copy link
Collaborator

lmove commented Apr 28, 2022

ID: e128af67-3a6d-4250-922c-b43cf95efce2
Path: code/maracas/test-data/api-evolution-data-corpus/client/src/dataTypeIfazeMethodParamBoxing/Main.java
Line: 14
Breaking change: METHOD_REMOVED
API use: METHOD_INVOCATION
Used declaration: method1(int)
Source declaration: method1(int)

ID: de4c7049-b7b5-4258-b657-c31986ee6355
Path: code/maracas/test-data/api-evolution-data-corpus/client/src/dataTypeIfazeMethodParamUnboxing/Main.java
Line: 14
Breaking change: METHOD_REMOVED
API use: METHOD_INVOCATION
Used declaration: method1(java.lang.Integer)
Source declaration: method1(java.lang.Integer)

ID: 2cac2441-cd32-4917-8314-8437ece61b27
Path: /code/maracas/test-data/api-evolution-data-corpus/client/src/dataTypeClazzConstructorParamBoxing/Main.java
Line: 9
Breaking change: CONSTRUCTOR_REMOVED
API use: INSTANTIATION
Used declaration: testing_lib.dataTypeClazzConstructorParamBoxing.DataTypeClazzConstructorParamBoxing(int)
Source declaration: testing_lib.dataTypeClazzConstructorParamBoxing.DataTypeClazzConstructorParamBoxing(int)

ID: 7f932106-6dfe-4f89-83d0-e637d5e1f157
Path: /code/maracas/test-data/api-evolution-data-corpus/client/src/dataTypeClazzConstructorParamUnboxing/Main.java
Line: 10
Breaking change: CONSTRUCTOR_REMOVED
API use: INSTANTIATION
Used declaration: testing_lib.dataTypeClazzConstructorParamUnboxing.DataTypeClazzConstructorParamUnboxing(java.lang.Integer)
Source declaration: testing_lib.dataTypeClazzConstructorParamUnboxing.DataTypeClazzConstructorParamUnboxing(java.lang.Integer)

ID: fb202e93-0087-48af-9122-0b82f13a4941
Path: /code/maracas/test-data/api-evolution-data-corpus/client/src/dataTypeClazzMethodParamBoxing/Main.java
Line: 11
Breaking change: METHOD_REMOVED
API use: METHOD_INVOCATION
Used declaration: method1(int)
Source declaration: method1(int)
@lmove lmove changed the title Broken use with param boxing Wrong broken use detection when dealing with type boxing Apr 28, 2022
@lmove lmove changed the title Wrong broken use detection when dealing with type boxing Wrong broken use detection when dealing with type (un)boxing Apr 28, 2022
@lmove
Copy link
Collaborator Author

lmove commented May 3, 2022

JApiCmp only informas about the change as a METHOD_REMOVED BC. We will need to manually go over the newest release of the library to identify if there is any new method with the same name of the removed method with a change on the parameters types. This is not the case when dealing with a change in the return type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant