RFR: 8308270: ARM32 build broken after JDK-8304913

Boris Ulasevich bulasevich at openjdk.org
Wed May 17 17:44:02 UTC 2023


Build issue happens after https://git.openjdk.org/jdk/pull/13585:

$ make bundles
...
jdk.tools.jlink.plugin.PluginException: ModuleTarget is malformed: No enum constant jdk.internal.util.Architecture.ARM
	at jdk.jlink/jdk.tools.jlink.builder.DefaultImageBuilder.storeFiles(DefaultImageBuilder.java:181)
	at jdk.jlink/jdk.tools.jlink.internal.ImagePluginStack.storeFiles(ImagePluginStack.java:486)
	at jdk.jlink/jdk.tools.jlink.internal.ImageFileCreator.writeImage(ImageFileCreator.java:168)
	at jdk.jlink/jdk.tools.jlink.internal.ImageFileCreator.create(ImageFileCreator.java:100)
	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask$ImageHelper.retrieve(JlinkTask.java:860)
	at jdk.jlink/jdk.tools.jlink.internal.ImagePluginStack.operate(ImagePluginStack.java:194)
	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:423)
	at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:286)
	at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56)
	at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34)


With this PR I follow the https://github.com/openjdk/jdk/pull/13357 change to add a missing ARM32 architecture to the list of supported architectures: `X64, X86, AARCH64, RISCV64, S390, PPC64`.

-------------

Commit messages:
 - 8308270: ARM32 build broken after JDK-8304913

Changes: https://git.openjdk.org/jdk/pull/14028/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14028&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308270
  Stats: 13 lines in 3 files changed: 13 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14028.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14028/head:pull/14028

PR: https://git.openjdk.org/jdk/pull/14028


More information about the core-libs-dev mailing list