Skip to content

Rename isPrivatized() #22890

Open
Open
@bradcray

Description

@bradcray

isPrivatized() is a confusing (developer-oriented) query in that it sounds as though it's checking whether a given class is privatized or not, and it is, but it also checks to see whether we've compiled for a single locale or not, which the name doesn't really suggest. This issue proposes that we rename it to something that doesn't lead to that sort of confusion, though I don't have a proposal in hand at the moment.

This caused me a fair amount of confusion in working on #22657 until @ronawho swept in to save the day. Maybe he was just trying to make me feel better, but he said something about this causing him (or others?) confusion as well, motivating this issue. (I'd hoped to implement this as part of #22657, but have been having trouble wrapping up that PR, so am opening this issue instead).

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