Skip to content

Dedup the changed classes before hot reload - #345

Merged
Jinbo Wang (testforstephen) merged 2 commits into
microsoft:masterfrom
testforstephen:jinbo_hcr
Aug 3, 2020
Merged

Jinbo Wang (testforstephen) merged 2 commits into
microsoft:masterfrom
testforstephen:jinbo_hcr

Conversation

@testforstephen

@testforstephen Jinbo Wang (testforstephen) commented Jul 31, 2020 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

Fix microsoft/vscode-java-debug#855

Root cause:
Previously the extension uses Set to dedup the changed resources and classes. One exceptional case is for multiple module maven projects, the classes changed in sub module also appear in the resource change listener of the parent project. Use HastSet cannot dedup the resource object even though they are pointing to the same physical file.

@testforstephen
Jinbo Wang (testforstephen) merged commit 94284b0 into microsoft:master Aug 3, 2020
@testforstephen
Jinbo Wang (testforstephen) deleted the jinbo_hcr branch August 3, 2020 05:28
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.

"Cannot find any changed classes for hot replace!"

2 participants