Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Improve classNowCheckedException accuracy #51

@lmove

Description

@lmove

To detect the classNowCheckedException we have the following specification:

  • Consider concrete subtypes of the modified class affected by the change.
  • Report on client methods.
  • An affected method throws and creates an instance of the now checked exception.
  • An affected method does not include the exception in the throws declaration.

With M3 we only have access to information related to the exception initialization. Information related to checked and thrown exceptions is missing, even though it is available in the bytecode. We need to check alternatives to correctly report this issue. Some options are using flybytes and adding the exceptions relation to `M3'.

Without this solution we can have an approximation where we report on client methods that call the constructors of the now checked exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions