[ 
https://issues.apache.org/jira/browse/TOMEE-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239879#comment-15239879
 ] 

Martin Vysny commented on TOMEE-1774:
-------------------------------------

Hi Romain,
I have just tried to create a simple project with one CDI bean, and the code 
works properly... So I cannot reproduce the issue on a small project. Let me 
try to reproduce this issue again on my larger project. Perhaps after class 
conversion to Kotlin there were accidentally two classes and JVM got confused?

> 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)

Reply via email to