Support building with graal
See original GitHub issueI think some of the advanced usage of kotlin is tripping up graal. But it seems worthwhile to support particularly in the serverless space.
https://github.com/square/okhttp/pull/5125
Currently failing for me with
$ ./gradlew :okcurl:nativeImage
> Task :okhttp:compileKotlin
e: /Users/yuri/workspace/okhttp/okhttp/src/main/java/okhttp3/internal/Internal.kt: (30, 1): Conflicting overloads: public fun parseCookie(currentTimeMillis: Long, url: HttpUrl, setCookie: String): Cookie? defined in okhttp3.internal in file Internal.kt, public fun parseCookie(currentTimeMillis: Long, url: HttpUrl, setCookie: String): Cookie? defined in okhttp3.internal in file internal.kt
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
[RFE] Support building Graal VM with native-image ... - GitHub
I've got latest OpenJDK 11.0.6+10 release retrieved from the upstream project[1]. It would be nice if there was a supported way to use...
Read more >Get Started with GraalVM
Here you will find information about installing GraalVM Community Edition, running basic applications with it, and adding support for accompanying features.
Read more >Building a Native Executable - Quarkus
Building a native executable requires using a distribution of GraalVM. ... They support the same capabilities to build native executables as Oracle GraalVM ......
Read more >Gradle plugin for GraalVM Native Image building
The Gradle plugin for GraalVM Native Image building adds support for building and testing native images using the Gradle build tool.
Read more >Spring Native documentation
There are two main ways to build a Spring Boot native application: Using Spring Boot Buildpacks support to generate a lightweight container ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s getting adopted by various frameworks e.g. micronauts, and more relevant for fast startup in FaaS models. Support for it generally is more important than okcurl.
Demonstrable performance on a desktop machine for java okhttp
Most likely a Kotlin+Graal issue we’re victim to?