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

Jaskey Lam commented on ROCKETMQ-208:
-------------------------------------

Some methods calls `keySet()` in rocketmq code base, and the implementations in 
java 8 is different from java7.

Though the target compatible is set to 1.7, the problem will still be found if 
the jar is compiled with java8 compiler. 

Something should be done to avoid this problem or rocketmq can not be run 
properly for user who are using java7

> incompatibility problem found in enviroment of JDK 1.7 when running client
> --------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-208
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-208
>             Project: Apache RocketMQ
>          Issue Type: Wish
>          Components: rocketmq-broker
>         Environment: jdk  1.7
>            Reporter: laiyiyu
>            Assignee: yukon
>
> when I start the application which dependencies on rmq client 3.5.8  in  
> java7, the application throw the exception no such method, causing by the 
> ConcurrentHashMap inner class KeySetView  of the   java8    incompatible with 
>  the java7;
> so , I think the official use the   java8 packing the rmq  source code



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to