-
-
Notifications
You must be signed in to change notification settings - Fork 764
fix: Use WeakHashMap for caching proxy classes #2260
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Replace ConcurrentHashMap with WeakHashMap wrapped with Collections.synchronizedMap to ensure thread-safety.
...t/java/io/appium/java_client/pagefactory_tests/widget/tests/combined/CombinedWidgetTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved (except the abovementioned logging and formatting)
...t/java/io/appium/java_client/pagefactory_tests/widget/tests/combined/CombinedWidgetTest.java
Outdated
Show resolved
Hide resolved
Thank you @Auto81 Please sign the CLA and update the PR title to comply with conventional commit naming rules as well as styling/linter ones |
resolve PR comments
Update Helpers.java
remove unused import
re align formatting to original
...t/java/io/appium/java_client/pagefactory_tests/widget/tests/combined/CombinedWidgetTest.java
Outdated
Show resolved
Hide resolved
...t/java/io/appium/java_client/pagefactory_tests/widget/tests/combined/CombinedWidgetTest.java
Outdated
Show resolved
Hide resolved
Update CombinedWidgetTest.java
Hi @Auto81, congrats: the Appium project wants to compensate you for this contribution! Please reply to this comment mentioning @jlipps and @KazuCocoa and sharing your OpenCollective account name, so that we can initiate payment! Or let us know if you decline to receive compensation via OpenCollective. Thank you! |
Change list
Fix for #2247
Types of changes
Details
Expanded test asserts in CombinedWidgetTest, happy to move if better place.