Skip to content

fix ZipCentralDir warning - #1596

Merged
eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:ZipCentralDir-final
Sep 20, 2025
Merged

fix ZipCentralDir warning#1596
eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:ZipCentralDir-final

Conversation

@xuwei-k

@xuwei-k xuwei-k commented Sep 20, 2025

Copy link
Copy Markdown
Member

https://bugs.openjdk.org/browse/JDK-8299995

[warn] /home/runner/work/zinc/zinc/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java:86:28: possible 'this' escape before subclass is fully initialized
[warn] readEntries()
[warn]              ^
[warn] /home/runner/work/zinc/zinc/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java:122:36: previous possible 'this' escape happens here via invocation
[warn] Entry.readCEN(this, inode.pos)
[warn]                               ^
[warn] /home/runner/work/zinc/zinc/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java:486:35: previous possible 'this' escape happens here via invocation
[warn] new Entry().cen(zipfs, pos)
[warn]                            ^
[warn] /home/runner/work/zinc/zinc/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java:518:27: previous possible 'this' escape happens here via invocation
[warn] zipfs
[warn]      ^

@eed3si9n
eed3si9n merged commit 53ad940 into sbt:develop Sep 20, 2025
9 checks passed
@xuwei-k
xuwei-k deleted the ZipCentralDir-final branch May 10, 2026 06:30
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.

2 participants