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

Java TASTy: use new threadsafe writer implementation #19690

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

bishabosha
Copy link
Member

@bishabosha bishabosha commented Feb 14, 2024

Also fix bug where Jar entries for -Yjava-tasty-output have backslash on Windows.

Copies implementation from compiler/src/dotty/tools/backend/jvm/ClassfileWriters.scala, but this time I don't close the jar archive except from within Pickler (when its more explicit that we wont write any longer to the early output jar), I also no longer perform substitution of . by / in Pickler, instead leave it to TastyWriter to decide how to process the classname.

fixes #19681

Also fix bug where Jar entries for -Yjava-tasty-output
have backslash on Windows.
@bishabosha bishabosha requested a review from sjrd February 14, 2024 14:34
@bishabosha bishabosha marked this pull request as ready for review February 14, 2024 14:53
@bishabosha bishabosha enabled auto-merge February 14, 2024 15:40
@bishabosha bishabosha merged commit e96cb18 into scala:main Feb 14, 2024
17 checks passed
@bishabosha bishabosha deleted the use-threadsafe-tasty-writer branch February 14, 2024 16:01
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline TASTy jar has incorrect entry format on Windows
3 participants