You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "lorenzo benvenuti (JIRA)" <ji...@apache.org> on 2016/03/24 13:08:25 UTC

[jira] [Commented] (FLEX-34980) NoSuchMethodError on Java 7

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

lorenzo benvenuti commented on FLEX-34980:
------------------------------------------

This issue is related to FLEX-34978; it seems that classes have been compiled with target version 1.6 but using the 1.8 bootstrap class path (see https://bugs.openjdk.java.net/browse/JDK-8151366). I guess that reassembling the jar using the appropriate bootstrap class path should solve the issue.

> NoSuchMethodError on Java 7
> ---------------------------
>
>                 Key: FLEX-34980
>                 URL: https://issues.apache.org/jira/browse/FLEX-34980
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: BlazeDS
>         Environment: JDK 7u80
>            Reporter: Tweea Tang
>            Priority: Critical
>
> I write a test case:
> 	@Test
> 	public void test() {
> 		FlexSessionManager manager = new FlexSessionManager(
> 				new MessageBroker());
> 		manager.start();
> 		manager.stop();
> 	}
> And run it with BlazeDS 4.7.2
> Then the result:
> java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
> 	at flex.messaging.FlexSessionManager.stop(FlexSessionManager.java:293)
> 	at org.springframework.flex.config.TheTest.test(TheTest.java:30)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)