Skip Menu |
Report information
Id: 120879
Status: new
Priority: 0/
Queue: perl6

Owner: jnthn [at]
Requestors: fernando.ribeiro [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)

Subject: Issue with Java Interface Types on Rakudo Perl
Download (untitled) / with headers
text/plain 671b
Consider the following code: use org::apache::activemq::ActiveMQConnectionFactory:from<java>:jar('activemq-all-5.9.0.jar'); my $connFactory = ActiveMQConnectionFactory.'constructor/new/(Ljava/lang/String;)V'('tcp://localhost:61616'); my $conn = $connFactory.'method/createConnection/()Ljavax/jms/Connection;'(); # javax.jms.Connection is an interface $conn.'method/close/()V'(); The last line fails with the following error: java.lang.IncompatibleClassChangeError: Found interface javax.jms.Connection, but class was expected [1] [2]

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at