Michael Piefel

Results 11 comments of Michael Piefel

I do not think that this _can_ be fixed in Kotlin. It is not a bug in the language. To identify SAM interfaces, we can take arguments to the called...

> The proper Kotlin-style workaround is to create an extension with a different name and use it. Which is exactly what I did, but there is a limited list of...

As noted before, the issue is _not_ about inheritance. `Consumer` and `ThrowingConsumer` are indistinguishable (in Kotlin): They take the same argument type, they return the same type. EDIT: Or not...

Well, I would really wish AssertJ was more Kotlin aware. It is not the first time things broke. Java interop in Kotlin is great, but can only ever go so...

OK, I tried that, including timings for the GC. It holds a lot longer, but still dies in the end: ``` 49% - 4.769 s -- 736 MB free -...

I might have found one problem in your code, though. You get a new instance of the scripting engine on each decision. This is probably unnessary, one (perhaps `ThreadLocal`) should...

They are not required to be thread-safe. That can be queried on the engine. Rhino was thread-safe, Nashorn isn’t. It’s easy to put them in a `ThreadLocal`, of course. But...

I created a quite minimal project: [problem-problem.zip](https://github.com/zalando/problem-spring-web/files/7390929/problem-problem.zip). Gradle wrapper omitted for size. The attached project, when run, will answer with 500 on `/api/you` (actually, anything but `/api/me` and `/favicon.ico`). Changing...

I suspect this is actually another manifestation of the same issue as #696

Why do you want to name the sourceset `integration-test`? Is it because your source folder has that name? The solution for _this case_ would be (in Kotlin syntax): ```kotlin testSets...