Skip to content

Fix compile error in perc-distribution-tree Main.java (entryDest -> newFile) - #64

Merged
natechadwick-intsof merged 1 commit into
mainfrom
bugfix/main-entrydest-compile-error
Aug 24, 2026
Merged

Fix compile error in perc-distribution-tree Main.java (entryDest -> newFile)#64
natechadwick-intsof merged 1 commit into
mainfrom
bugfix/main-entrydest-compile-error

Conversation

@vijaya-boddipudi

Copy link
Copy Markdown
Collaborator

Summary

PR #35 (codeql zipslip Task 5) renamed the local extract-path variable in Main.extractArchive() to
ewFile but left the executable-bit block referencing the old entryDest name, breaking the perc-distribution-tree compile:

Main.java:[283,23] cannot find symbol symbol: variable entryDest

Fix

Replace entryDest.toFile() with the in-scope
ewFile (also drops the redundant .toFile() since
ewFile is already a File).

Verification

./mvn-env.bat compile -pl modules/perc-distribution-tree -DskipTests => BUILD SUCCESS

Notes

Two // codeql[java/zipslip] comments added in PR #35 exceed the 120-char limit and have been wrapped by Spotless as part of the same commit.

PR #35 (codeql zipslip Task 5) renamed the local extract-path
variable to 'newFile' but left the executable-bit block in
extractArchive() referencing the old 'entryDest' name, breaking
the perc-distribution-tree compile:

  Main.java:[283,23] cannot find symbol
    symbol:   variable entryDest

Replace 'entryDest.toFile()' with the in-scope 'newFile' (also
drops the redundant .toFile() since newFile is already a File).

Also wraps two Spotless-flagged // codeql comments that exceeded
the 120-char limit.
@natechadwick-intsof
natechadwick-intsof merged commit 1fb175c into main Aug 24, 2026
3 checks passed
@natechadwick-intsof
natechadwick-intsof deleted the bugfix/main-entrydest-compile-error branch August 24, 2026 13:26
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