RFR: 8351073: [macos] jpackage produces invalid Java runtime DMG bundles [v4]

Alexander Matveev almatvee at openjdk.org
Tue Jul 15 01:47:52 UTC 2025


On Tue, 15 Jul 2025 01:29:44 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> Getting following exception at runtime with code above:
>> 
>> java.lang.ClassCastException: class com.sun.proxy.jdk.proxy1.$Proxy0 cannot be cast to class jdk.jpackage.internal.MacApplicationLayout (com.sun.proxy.jdk.proxy1.$Proxy0 is in module jdk.proxy1 of loader 'app'; jdk.jpackage.internal.MacApplicationLayout is in module jdk.jpackage of loader 'app')
>
> What is the full stack trace?

It does not print call stack. Not sure why. Once I figure it I will update.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26173#discussion_r2206110106


More information about the core-libs-dev mailing list