★ wanayoo — archive 1999 https://github.com/microsoft/java-debug/pull/345Nouvelle recherche | Portail wanayoo
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

Dedup the changed classes before hot reload #345

Merged
merged 2 commits into from Aug 3, 2020

Conversation

@testforstephen
Copy link
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.

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
@testforstephen testforstephen requested review from jdneo and Eskibear Jul 31, 2020
@testforstephen testforstephen merged commit 94284b0 into microsoft:master Aug 3, 2020
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.
Details
@testforstephen testforstephen deleted the testforstephen:jinbo_hcr branch Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.