aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.16k stars 840 forks source link

Fixed a bug in AttributeMap, which causes a ConcurrentModificationException… #5559

Closed millems closed 2 weeks ago

millems commented 3 weeks ago

… when lazy properties depend on lazy properties that depend on any other property.

This is achieved by changing a compute into a get followed by a put.

This code path was not hit before the endpoint URL changes, which are forthcoming. Those changes also add a path that tests this change.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
10 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud