diff options
author | Neil Fuller <nfuller@google.com> | 2017-04-18 17:10:23 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2017-04-18 18:01:55 +0100 |
commit | 39b6c2a4b3d02089328c11b7d3a239f9e871d80e (patch) | |
tree | 1e2a7f4c92f7a17af76e56aae61180a806de0b05 /include/ScopedJavaUnicodeString.h | |
parent | decb673fdbd066ae760a77da00684d3e5b0f07f0 (diff) |
Remove over-specified lambda class assertions
The assertMultipleInstanceCharacteristics() method used by several
tests asserted that two lambdas with identical (or very similar)
definitions would have different implementation classes.
Jack now appears to de-dupe lambda classes. JLS 15.27.4 appears to
confirm there is no guarantee that two lambdas with (for example)
identical bodies will have different classes.
Various tests have been extended to make assertions about
multiple instances from the same lambda definition as well.
Bug: 37237796
Test: vogar [--debug 8700] --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack libcore.java.lang.LambdaImplementationTest
Change-Id: Iec504cb5864a301b09cc948585ac5b12fb4ed479
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions