Are there any new builds of panama out?

Mark Hammons mark.hammons at inaf.cnrs-gif.fr
Sat Aug 3 13:07:14 UTC 2019


I am trying to build a project with the new scala dotty compiler, and it 
chokes on the inner classes created by jextract being used on wlroots.

Compiler error below:

[info] Compiling 5 Scala sources to 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/target/scala-0.17/classes 
...
exception caught when loading class wayland_server_core: 
java.lang.AssertionError: 
usr.include.wayland.wayland_server_core$__va_list_tag
assertion failure for usr.include.libudev <:< 
usr.include.wayland.wayland_server_core, frozen = true
assertion failure for Class[usr.include.wayland.wayland_server_core] <:< 
Class[usr.include.libudev], frozen = true
[warn] Caught: java.lang.AssertionError: 
usr.include.wayland.wayland_server_core$__va_list_tag while parsing 
annotations in 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/lib/wlroots.jar(wlroots/backend_headers/session.class)
assertion failure for io.github.markehammons.mcw_server(server) <:< ?{ 
backend: ? }, frozen = false
[info] exception occurred while typechecking 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/io/github/markehammons/main.scala
[info] exception occurred while compiling 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/io/github/markehammons/main.scala, 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/io/github/markehammons/mcw_output.scala, 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/io/github/markehammons/mcw_server.scala, 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/io/github/markehammons/utils.scala, 
/home/mhammons/Documents/MyProjects/waylandMcWayface/Skylight/src/main/scala/usr/include/stdlib.scala
java.lang.AssertionError: assertion failed: failure to resolve inner class:
externalName = usr.include.wayland.wayland_server_core$wl_display,
outerName = usr.include.wayland.wayland_server_core,
innerName = wl_display
owner.fullName = usr.include.wayland.wayland_server_core

I am hoping that new versions of jextract and panama might get rid of 
the issue entirely.



More information about the panama-dev mailing list