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

Hash of java.rmi differs to expected hash recorded in java.base #19522

Closed
koppor opened this issue May 21, 2024 · 2 comments
Closed

Hash of java.rmi differs to expected hash recorded in java.base #19522

koppor opened this issue May 21, 2024 · 2 comments

Comments

@koppor
Copy link
Contributor

koppor commented May 21, 2024

I am trying to use jlink with Eclipse OpenJ9 21

I get (on macOS)

java.lang.module.FindException: Hash of java.rmi (03f539ebf91c81cfc7a81236d2c1109e0d050c839d03c6f757022b99a10cb819) differs to expected hash (07126a5cefcc6c19d9059cfa4b42ec832f3714a1ef89f103afc2d1ab61b79bc7) recorded in java.base

It works fine on Windows and Linux.

Full MWE project at https://github.com/koppor/openj9-hash-issue.


plugins {
    id 'application'
    id 'org.beryx.jlink' version '3.0.1'
}

repositories {
    mavenCentral()
}

dependencies {
}

testing {
    suites {
        test {
            useJUnitJupiter('5.10.0')
        }
    }
}

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(21)
        vendor = JvmVendorSpec.IBM
    }
}

application {
    mainClass = 'org.example.App'
}

jlink {
    mergedModule {
        requires 'java.rmi'
    }
}
@pshipton
Copy link
Member

I believe it's a known problem related to signing the builds.
ibmruntimes/Semeru-Runtimes#3

@pshipton
Copy link
Member

Since it's problem with Semeru packaging and not OpenJ9, I'll go ahead and close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants