Skip to content

Make ctor FrameworkField(Field) public? #1668

Closed
@pholser

Description

@pholser

Hello,

In junit-quickcheck I found myself wanting to make both FrameworkMethods and FrameworkFields. FrameworkMethod's constructor is public; FrameworkField's constructor is package-private. I tried to be sneaky and make the class that uses the FrameworkField constructor a package cohabitant of FrameworkField. Now, however, some of my users are reporting an error when running junit-quickcheck tests, along the lines of this issue.

In the short term, I'd try to clone FrameworkField, put it in a junit-quickcheck package, and move on -- except that FrameworkField contains package-private abstract methods that I won't be able to override (better for those to be marked protected?)

Longer term -- would it be possible to promote FrameworkField's actor to public?

Thanks for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions