You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/04/11 09:25:25 UTC
[jira] [Commented] (TOMEE-1774) JVM crash when using Kotlin classes
as @Singleton
[ https://issues.apache.org/jira/browse/TOMEE-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234612#comment-15234612 ]
Romain Manni-Bucau commented on TOMEE-1774:
-------------------------------------------
Hi Martin
yes a sample project would help, if possible public sources on a public repository (to avoid binaries).
> JVM crash when using Kotlin classes as @Singleton
> -------------------------------------------------
>
> Key: TOMEE-1774
> URL: https://issues.apache.org/jira/browse/TOMEE-1774
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 1.7.3
> Reporter: Martin Vysny
> Attachments: hs_err_pid14599.log, hs_err_pid15053.log
>
>
> Good day, I just tried to convert a rather simple Singleton-annotated Java class to Kotlin. To my surprise, JVM crashed after trying to run such javaee-6 WAR file on TomEE. The crash is easily reproducible, I can attach a sample war including sources if you wish. I am attaching the JVM crash logs.
> I am not sure whether this is really a bug in JVM, or in some incorrect usage of Unsafe by TomEE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)