7mind / izumi

Productivity-oriented collection of lightweight fancy stuff for Scala toolchain

Home Page:https://izumi.7mind.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

distage-testkit does not show ZIO traces on recent JVMs

neko-kai opened this issue · comments

commented

We use zio.Cause.squashTraceWith to attach ZIO traces to exceptions in tests, this starts failing since at least JVM 16 because of forbidden illegal reflective access:

Screenshot 2021-09-03 at 22 19 31

Need to find another way to propagate info, e.g. go back to printing entire Cause, or attach to getMessage instead of Throwable#cause

commented

Fixed since upgrade to ZIO 2