Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Reproduces a bug in ArchUnit 0.23.0

Notifications You must be signed in to change notification settings

pkubowicz/archunit-accessrecord-bug

Repository files navigation

Reproduces a bug in ArchUnit 0.23.0. Running:

./gradlew test -ParchUnitVersion=0.23.0

causes:

java.lang.IllegalStateException: Never found a JavaCodeUnit that matches supposed origin
CodeUnit{name='keyOf', descriptor=(Ljava/lang/Object;)Ljava/lang/Object;, declaringClassName='com.example.CountryValidator$failOnDuplicatedIso$$inlined$groupingBy$1'}
	at com.tngtech.archunit.core.importer.AccessRecord$Factory.getOrigin(AccessRecord.java:325)
	at com.tngtech.archunit.core.importer.AccessRecord$Factory.access$1200(AccessRecord.java:67)
	at com.tngtech.archunit.core.importer.AccessRecord$Factory$10.get(AccessRecord.java:314)
	at com.tngtech.archunit.core.importer.AccessRecord$Factory$10.get(AccessRecord.java:311)
	at com.tngtech.archunit.thirdparty.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:167)
	at com.tngtech.archunit.core.importer.AccessRecord$Factory$RawAccessRecordProcessed.getOrigin(AccessRecord.java:282)
	at com.tngtech.archunit.core.importer.ClassGraphCreator.tryProcess(ClassGraphCreator.java:146)

About

Reproduces a bug in ArchUnit 0.23.0

Topics

Resources

Stars

Watchers

Forks

Languages