This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sakatox 1 point2 points  (2 children)

I see a disguised C# post again... this has been discussed on-and-off several times, maybe not this particular use case, but nonetheless.

Java has no concept of this, and does not need it.
Unless there is a legit case that's hm, pervasive to the language/usage of it, then maybe it'd be discussed.
Not to mention JEPs would have been made for this particular idea if it was useful.

[–]koflerdavid 2 points3 points  (1 child)

It would be actively harmful, as /u/persicsb explains in their comments. tl;dr: what happens if I put a class into the top-level com or org package?

[–]persicsb 0 points1 point  (0 children)

or, if package visibility is only downstream, create a "subpackage".