Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimenting with GraalVM #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Experimenting with GraalVM #2

wants to merge 3 commits into from

Conversation

otobrglez
Copy link
Owner

This PR aims to establish a working build procedure for GraalVM w/ Scala 3, ZIO and other dependencies that this project has.

Currently, the built image (built via Docker (Linux)) fails with the following exception.

./get37 http://zio.dev
Exception in thread "main" scala.runtime.LazyVals$$anon$1
        at scala.runtime.LazyVals$.$init$$$anonfun$3(LazyVals.scala:18)
        at scala.Option.getOrElse(Option.scala:201)
        at scala.runtime.LazyVals$.<clinit>(LazyVals.scala:19)
        at zio.ZLayer.<clinit>(ZLayer.scala:42)
        at java.lang.Class.ensureInitialized(DynamicHub.java:525)
        at zio.ZLayer$Suspend$.apply(ZLayer.scala:437)
        at zio.ZLayer$.suspend(ZLayer.scala:667)
        at zio.ZLayer$.fromZIOEnvironment(ZLayer.scala:613)
        at zio.ZLayer$.<clinit>(ZLayer.scala:558)
        at zio.ZIOAppDefault.$init$(ZIOAppDefault.scala:43)
        at com.pinkstack.get37.Get37App$.<clinit>(Get37App.scala:10)
        at com.pinkstack.get37.Get37App.main(Get37App.scala)

@otobrglez otobrglez self-assigned this Sep 26, 2022
@otobrglez otobrglez added the bug Something isn't working label Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant