Skip to content

Java: Do not require that FinalizeMethod is protected #3103

@Marcono1234

Description

@Marcono1234

The CodeQL class FinalizeMethod currently requires that the method is protected, however subclasses can increase its visibility to public.
https://github.com/Semmle/ql/blob/16f29570291e3560185ae676491a89360cc2933d/java/ql/src/semmle/code/java/Member.qll#L490

Would it be possible to remove that requirement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions