I've not looked code-deep yet as it is a unit test inherited from long ago. The test ensures that despite there being two references to the same object, only one copy of that object exists, but two objects exists on 32 bit openjdk7. That's my reading of it anyway.
The failing build log: https://travis-ci.org/#!/jmkgreen/morphia/jobs/2830136
The test: https://github.com/jmkgreen/morphia/blob/master/morphia/src/test/java/com/github/jmkgreen/morphia/TestMapper.java
I'll read it more thoroughly before I decide who to blame!
On 18 October 2012 10:00, Neil Bartlett <[address removed]>
So... what's the error?
There are many known incompatibilities between Sun/Oracle JDK and OpenJDK, even in supposedly the same version of each. So without some more details from you, any further response would be little more than guesswork.
This message was sent by Neil Bartlett ([address removed]) from LJC - London Java Community.
On Thu, Oct 18, 2012 at 7:10 AM, James Green <[address removed]>
So I've forked an open source project and put it on Github. Travis-CI is employed, but I've hit a snag:
- OracleJDK7 and OpenJDK6 pass green
- OpenJDK7 fails a test, consistently the same one
I'm on OS X 10.7.5 with Oracle's latest and greatest, and an OpenJDK from the google-code site. I cannot reproduce the problem locally.
The only thing I've found in searching for clues is that OpenJDK is apparently a bit dodgy in 32-bit forms. Travis appears to be 32-bit.
As an engineer I'm looking for a solution. As someone with a few month's experience with Java / Maven / etc, I am rather lost at this point.
Explaining that "it works except on 32-bit OpenJDK7" in the readme would suck... Can anyone offer advice/assistance to help avoid that?
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by James Green ([address removed]) from LJC - London Java Community.
To learn more about James Green, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages
Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | [address removed]
Please Note: If you hit "REPLY
", your message will be sent to everyone
on this mailing list ([address removed])
To learn more about Neil Bartlett, visit his/her member profile