sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.08k stars 629 forks source link

Remove rosetta2 hack for arm64 on Mac #1205

Open marc0der opened 1 year ago

marc0der commented 1 year ago

We introduced this hack when there were very few JDKs available for the ARM64 variant of Mac.

Subsequently, many versions of Java have become available for ARM64 Mac, making this hack redundant. This PR removes all support for this functionality.

macalln commented 1 year ago

We introduced this hack when there were very few JDKs available for the ARM64 variant of Mac.

Subsequently, many versions of Java have become available for ARM64 Mac, making this hack redundant. This PR removes all support for this functionality.

Hi, maybe it’s too early to remove this option? There are still plenty of java native x86 libraries which does not have an arm port. There is also jdk bugs (e.g. Unsafe#getLongVolatile) in arm where it’s nice to be able to switch over to x86.