CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 02:57:17 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=180.098368,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=931.043626,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=44.283918,nginx;desc="NGINX";dur=0.810289,glb;desc="GLB";dur=101.702313
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: a2eb102
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=PC4Cf2gQv4reS7ChOiE2D3AQsqIGXMzfePeUZ%2B33rhjPfHbO0ymUXg8ap%2BUbH66H2XPjgHd%2B4XyNC9Sa0Bvz%2BMd%2BRsybnxuHuXm3O5nb%2BMw9XLP7AqPO4easi0b4mt5%2Fb%2FxL9ONcjkm5YO0y%2B4nRZMmgt%2Fir1qtI6iBx4xDs%2BFKbyws7MOso0Xr5IaJ5ga11wMcWw9Xp5W39Ev8auaSSb%2F99lwMrXKKrU9pe2ov9iSmxgUl7EPb8zXHha%2BpgPOVUlDyVIzZ3MQ1b83adO%2FzOZA%3D%3D--P0Kv%2Fhev8BSnud3S--VNyJdJkRQXPLhMOuTIX%2FiQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1019231821.1753498636; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 02:57:16 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 02:57:16 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9858:5FFA9:E8393:1688EF:6884440C
Regression with Scala 2.13: cannot compile GraalVM native-image Β· Issue #11634 Β· scala/bug Β· GitHub
No one assignedNo typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
Description
An example which successfully compiles to native binaries from Scala 2.11 & 2.12 uber-jars cannot be compiled from Scala 2.13 uber-jar due some internal changes in Scala collection implementation.
Error output from the native-image tool is:
Error: Unsupported features in 5 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: java.lang.Object[].clone(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing scala.collection.immutable.VectorPointer.gotoPosWritable1(Vector.scala:1243)
Call path from entry point to scala.collection.immutable.VectorPointer.gotoPosWritable1(int, int, int, Object[]):
at scala.collection.immutable.VectorPointer.gotoPosWritable1(Vector.scala:1242)
at scala.collection.immutable.VectorPointer.gotoPosWritable1$(Vector.scala:1241)
at scala.collection.immutable.VectorBuilder.addAll(Vector.scala:840)
at scala.collection.immutable.Vector$.from(Vector.scala:840)
at scala.collection.immutable.Vector$.from(Vector.scala:27)
at scala.collection.IterableFactory.apply(Factory.scala:104)
at scala.collection.IterableFactory.apply$(Factory.scala:104)
at scala.collection.immutable.List$.apply(List.scala:618)
at scala.collection.SeqFactory$Delegate.apply(Factory.scala:305)
at com.github.plokhotnyuk.jsoniter_scala.examples.Example01$.main(Example01.scala:18)
at com.github.plokhotnyuk.jsoniter_scala.examples.Example01.main(Example01.scala)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:147)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: java.lang.Object[][].clone(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
at parsing scala.collection.immutable.VectorPointer.stabilize(Vector.scala:1197)
Call path from entry point to scala.collection.immutable.VectorPointer.stabilize(int):
at scala.collection.immutable.VectorPointer.stabilize(Vector.scala:1163)
at scala.collection.immutable.VectorPointer.stabilize$(Vector.scala:1163)
at scala.collection.immutable.VectorBuilder.addAll(Vector.scala:840)
at scala.collection.immutable.Vector$.from(Vector.scala:840)
at scala.collection.immutable.Vector$.from(Vector.scala:27)
at scala.collection.IterableFactory.apply(Factory.scala:104)
at scala.collection.IterableFactory.apply$(Factory.scala:104)
at scala.collection.immutable.List$.apply(List.scala:618)
at scala.collection.SeqFactory$Delegate.apply(Factory.scala:305)
at com.github.plokhotnyuk.jsoniter_scala.examples.Example01$.main(Example01.scala:18)
at com.github.plokhotnyuk.jsoniter_scala.examples.Example01.main(Example01.scala)
at com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:147)
at com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(generated:0)
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported type java.lang.invoke.MemberName is reachable: All methods from java.lang.invoke should have been replaced during image building.
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Trace:
at parsing java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:861)
Call path from entry point to java.lang.invoke.MethodHandles$Lookup.findVirtual(Class, String, MethodType):
no path found from entry point to target method
Error: type is not available in this platform: com.oracle.svm.hosted.ClassValueFeature
Trace: object java.lang.Class[]
object java.lang.invoke.MethodType
object java.lang.invoke.MethodType$ConcurrentWeakInternSet$WeakEntry
object java.util.concurrent.ConcurrentHashMap$Node
object java.util.concurrent.ConcurrentHashMap$Node[]
object java.util.concurrent.ConcurrentHashMap
object java.lang.invoke.MethodType$ConcurrentWeakInternSet
method java.lang.invoke.MethodType.makeImpl(Class, Class[], boolean)
Call path from entry point to java.lang.invoke.MethodType.makeImpl(Class, Class[], boolean):
no path found from entry point to target method
Error: type is not available in this platform: com.oracle.svm.hosted.substitute.ComputedValueField
Trace: object java.lang.invoke.MethodType
object java.lang.invoke.MethodType$ConcurrentWeakInternSet$WeakEntry
object java.util.concurrent.ConcurrentHashMap$Node
object java.util.concurrent.ConcurrentHashMap$Node[]
object java.util.concurrent.ConcurrentHashMap
object java.lang.invoke.MethodType$ConcurrentWeakInternSet
method java.lang.invoke.MethodType.makeImpl(Class, Class[], boolean)
Call path from entry point to java.lang.invoke.MethodType.makeImpl(Class, Class[], boolean):
no path found from entry point to target method
Steps to reproduce:
- Install or make sure all those things are installed: Sbt, GraalVM CE/EE and its native-image tool
- Clone the following repo: https://github.com/plokhotnyuk/jsoniter-scala
- Checkout the
switch-examples-to-scala-2.13
branch - Run the following commands:
cd jsoniter-scala-examples
sbt clean +assembly
/usr/lib/jvm/graalvm-ce-19/bin/native-image --no-server --no-fallback -H:UnsafeAutomaticSubstitutionsLogLevel=3 -jar target/scala-2.13/jsoniter-scala-examples-assembly-0.1.0-SNAPSHOT.jar
dmytroorlov-kreditech, NRBPerdijk, jamesward, lavrov, phdoerfler and 3 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You canβt perform that action at this time.