What is your use-case and why do you need this feature?
In the Kotlin compiler, there are a lot of tests which consider all the fields of a generated class, e.g. here, and because they use classfile version 52 (Java 8), the coverage agent adds a field to the class which breaks the test:
Fail: lambda should only capture 's': [final java.lang.String A$f$1.$s, private static transient boolean[] A$f$1.__$hits$__]
Describe the solution you'd like
Ideally I would be able to whitelist the specific compiler classes I am interested in instead of having to blacklist the offending test classes.
Something like:
What is your use-case and why do you need this feature? In the Kotlin compiler, there are a lot of tests which consider all the fields of a generated class, e.g. here, and because they use classfile version 52 (Java 8), the coverage agent adds a field to the class which breaks the test:
Describe the solution you'd like Ideally I would be able to whitelist the specific compiler classes I am interested in instead of having to blacklist the offending test classes. Something like:
to match the existing
excludedClasses
option.