Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict fix to Properties #10758

Merged
merged 1 commit into from Apr 17, 2024
Merged

Conversation

som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Apr 16, 2024

The null arg was wrong, so use idiot-proof idiom instead.

Restore ShellConfig, where the original intervention landed.

haveInteractiveConsole is used for picking jline reader, so it seems correct to check isConsole.

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise.

src/library/scala/util/Properties.scala Outdated Show resolved Hide resolved
@som-snytt som-snytt changed the title Tweak toward correctness Restrict fix to Properties Apr 16, 2024
@som-snytt som-snytt marked this pull request as ready for review April 17, 2024 01:43
@lrytz lrytz enabled auto-merge April 17, 2024 07:34
@lrytz lrytz merged commit a527019 into scala:2.13.x Apr 17, 2024
2 of 3 checks passed
@lrytz lrytz modified the milestones: 2.13.15, 2.13.14 Apr 17, 2024
@som-snytt som-snytt deleted the fix/repl-color-redux branch April 17, 2024 14:14
@SethTisue SethTisue added the internal not resulting in user-visible changes (build changes, tests, internal cleanups) label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal not resulting in user-visible changes (build changes, tests, internal cleanups)
Projects
None yet
4 participants