- edited description
IllegalAccessError of StanazaEvent
Issue #2
closed
If I trie to add a MessageListener to a xmppSession i get the following Exception:
Eception in thread "main" java.lang.IllegalAccessError: tried to access class org.xmpp.stanza.StanzaEvent from class XMPPTest
Here is the Code:
xmppSession.addMessageListener(arg0 -> System.out.println(arg0.getMessage()));
I fixed that problem by making the StanzaEvent Class public.
Can you please fix that problem?
Comments (6)
-
reporter -
repo owner Yes, I recognized it, too, some time ago. I thought it was a bug in Java 8, because if you don't use lambda expressions, it works. I will investigate into this issue.
-
repo owner - changed status to resolved
Make StanzaEvent class public in order to be used with lambda expressions.
Fixes Issue
#2→ <<cset 8d8d62fd6561>>
-
repo owner As an Oracle guy told me, this is a bug in Java 8. Oracle has a simple test case from me, maybe they can fix it.
-
repo owner - changed status to closed
-
repo owner - changed version to 0.4.0
- Log in to comment