kastree icon indicating copy to clipboard operation
kastree copied to clipboard

Fix kastree on Java 11.

Open yanks opened this issue 3 years ago • 2 comments

When running kastree on Java 11, an error occurs; it looks something like this:

Exception in thread "main" java.lang.IllegalStateException: LOGGING: Loading modules: [<snip>] (no MessageCollector configured)

This fixes this issue by adding a blackhole collector.

yanks avatar Sep 14 '21 03:09 yanks

We use kastree for https://github.com/dropbox/hypershard-android. I'd love to move to https://github.com/kotlinx/ast, but it runs on a newer kotlin runtime than we're using (we're still on 1.4), and it looks like there's only jitpack nightlies. Would love any advice you have here, but it'd be awesome if you pushed this fix up to Maven Central. Thanks!

yanks avatar Sep 14 '21 03:09 yanks

@yanks - I am no longer really maintaining this. I would happily link to a fork though, but otherwise I'm afraid I can't even commit to a merge and push the maven central.

cretz avatar Sep 20 '21 15:09 cretz