jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Better support for Graalvm

Open gregw opened this issue 6 years ago • 10 comments

Ensure that using the polyglot graalvm is easy to do (see #3087).

gregw avatar Nov 12 '18 14:11 gregw

While I agree that GraalVM should be supported, it's not entirely clear to me how a web application needs to access Graal libraries.

@japgolly can you show us a small concrete example of a web application that currently fails because org.graalvm classes are not system classes?

sbordet avatar Nov 12 '18 15:11 sbordet

If history serves as a guide, then I also think once graalvm enters the JVM proper, it will not likely be using the org.graalvm namespace anymore.

Another thought about having org.graalvm on the default system classes definition, is that unlike javax. and java., the org.graalvm. namespace isn't as well protected or defined to be protected (such as the Servlet spec dictates).

joakime avatar Nov 12 '18 15:11 joakime

@joakime but protection is something that we define, no? So we can protect it if we want to.

sbordet avatar Nov 12 '18 16:11 sbordet

@japgolly I too would like to know how you were getting those exception, as I can run a simple webapp in 9.4.13 (staged) in GraalVM 1.0.0-rc9 with no problem. I've not yet tried to do any polyglot stuff, but simple stuff works without the need to change anything.

gregw avatar Nov 12 '18 16:11 gregw

This issue has been automatically marked as stale because it has been a full year without activit. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 20 '19 12:11 stale[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 25 '20 00:11 stale[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 05 '22 00:04 github-actions[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 13 '23 00:04 github-actions[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 15 '24 00:04 github-actions[bot]

Note sure this general issue needed anymore. Many folks have been using Jetty 12 with graalvm for a while now. We even have folks submitting issues using graalvm in their java version field.

joakime avatar Apr 22 '24 21:04 joakime