Skip to content

remove Main.getWorkingDir() - #3982

Open
wadoon wants to merge 1 commit into
mainfrom
weigl/mwrun
Open

remove Main.getWorkingDir()#3982
wadoon wants to merge 1 commit into
mainfrom
weigl/mwrun

Conversation

@wadoon

@wadoon wadoon commented Aug 29, 2026

Copy link
Copy Markdown
Member

Intended Change

This PR removes Main.getWorkingDir() and cleans up the now-dangling reference
in KeYFileChooser. Instead, the default directory for choosers is determined by the proof-independent settings.

This is necessary to use KeY-ui as a library and to start it from inside a Java process. The working dir needs to be set, but this is only doable within Main.main.

Spotted by implementing key-lsp.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)

Ensuring quality

  • Unit tests

@wadoon
wadoon requested a review from unp1 September 8, 2026 21:08
@wadoon wadoon self-assigned this Sep 8, 2026
@wadoon wadoon added the GUI label Sep 8, 2026
@wadoon wadoon added this to the v3.1.0 milestone Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant