Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Issues 124
    • Issues 124
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #1034

Closed
Open
Created Aug 13, 2017 by Neil Brown@nccbMaintainer

[BLUEJ-1055] Stride classes are public, but that isn't apparent

In Stride, we generate all classes with the public access specifier, but we don't show this in the editor. (If you view the generated Java you can check it is public.) In Greenfoot this was much of a muchness: we only support one package, so public, package-private and protected are all the same. But in BlueJ it starts to matter more.

So a few questions and one definite bug:

  • Should we show the public specifier in the class?
  • If it's shown, should it be editable? I think the only allowed specifiers on top-level classes are public or package-private, and we don't support the latter elsewhere in Stride, so I'm not sure we should allow non-public.
  • Regardless of the above choices, Java preview should definitely show public on the class.

Issue metadata

  • Issue type: Bug
  • Priority: Medium
Assignee
Assign to
Time tracking