Skip to content

Dedup the changed classes before hot reload#345

Merged
testforstephen merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_hcr
Aug 3, 2020
Merged

Dedup the changed classes before hot reload#345
testforstephen merged 2 commits intomicrosoft:masterfrom
testforstephen:jinbo_hcr

Conversation

@testforstephen
Copy link
Copy Markdown
Contributor

@testforstephen testforstephen commented Jul 31, 2020

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 testforstephen requested review from Eskibear and jdneo July 31, 2020 07:19
@testforstephen testforstephen merged commit 94284b0 into microsoft:master Aug 3, 2020
@testforstephen 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