Skip to content

[GR-65048] Allow OS="Z/OS" and ARCH="s390x" when checking for acceptable platforms #11209

Open
@kiwi1969

Description

@kiwi1969

Feature request

Please include the following information:

Is your feature request related to a problem? Please describe.
I am trying to run GraalJS in interpreted mode on Z/OS Java, but code get blocked for not being Windows, Mac, Linux.

Describe the solution you'd like.
I have made a patch to allow z/OS s390x and Linux s390x to not be blocked.
This allows GraalJS to run on 390x architecture for both Z/OS and Linux
Please approve this change : #10990

Describe who do you think will benefit the most.
Java developers on s390x architectures

Describe alternatives you've considered.
I have a custom build with my patch that works.
Only other alternative is to use OpenJDK Nashorn which has a lower ECMA standard (but faster than non-compiled GraalJS)

Additional context.
It seems that the code blocking in question is there mainly for compiler/JNI support which really should not be checked at all if we are not using those features.
But instead it is checked up front before deciding not to use the compiler.
Seems a bit silly to me

Express whether you'd like to help contributing this feature
I already have the code patch here
#10990

  • just need someone to actually review/accept it.
    Currently the review is not assigned to anyone - I am very hesitant to randomly selecting someone

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions