[jboss-jira] [JBoss JIRA] (JGRP-1550) 2.6.22.Final not running on 1.6 JVM
MIchael Yates (JIRA)
jira-events at lists.jboss.org
Wed Dec 5 22:52:21 EST 2012
[ https://issues.jboss.org/browse/JGRP-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739827#comment-12739827 ]
MIchael Yates commented on JGRP-1550:
-------------------------------------
In fact the code I pull at that label contains the following
--
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<excludes>
<exclude>org/jgroups/util/JUnitXMLReporter.java</exclude>
<exclude>org/jgroups/demos/**</exclude>
</excludes>
</configuration>
--
And therefor produces (after some additions to the pom) classes with 31 major version
hexdump -n20 ./org/jgroups/MembershipListener.class
0000000 ca fe ba be 00 00 00 31 00 0d 07 00 0b 07 00 0c
Maybe when the build was done there was a partially edited version of the main pom checked out?
> 2.6.22.Final not running on 1.6 JVM
> -----------------------------------
>
> Key: JGRP-1550
> URL: https://issues.jboss.org/browse/JGRP-1550
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.6.21
> Environment: JVM 1.6
> Reporter: MIchael Yates
> Assignee: Bela Ban
> Fix For: 3.3
>
>
> 2.6.22 has been built using JDK 7
> #A dump from a 2.6.21 class
> hexdump -n20 ./org/jgroups/MembershipListener.class
> 0000000 ca fe ba be 00 00 00 32 00 0d 07 00 0b 07 00 0c
> #A dump from a 2.6.22 class
> hexdump -n20 ./org/jgroups/MembershipListener.class
> 0000000 ca fe ba be 00 00 00 33 00 0d 07 00 0b 07 00 0c
> Note the 8th octet has changed form 32 to 33. ie from JVM6 to JVM7
> I suspect this is an oversight when 2.6.22 was built. Maybe -source and -target parameters forgotten on the build?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list