Skip to content

Relax default package filtering rules #320

Open
@kaqqao

Description

@kaqqao

Currently when no base packages are set, SPQR will only accept fields/methods declared within the same package as the exposed class. This means if a parent class resides in a different package, the methods inherited from there will not be exposed by default.
This is done to protect against exposing framework/library/JDK methods by accident. The user can control what packages to expose by configuring the base packages globally or on case-by-case basis.

Still, the default behavior seems to confuse most users (it's one of the most frequently asked questions), so the rules surrounding it should be relaxed. Starting from v0.10.1, all methods coming from non-JDK packages will be exposed by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions