Binitkumarsingh / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

DetectingFinalMethodsTest fails #465

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install the source distribution
2. run ant
3.

What is the expected output? What do you see instead?
I expect the build to succeed, but it fails. There is a test failure, in 
org.mockitousage.misuse.DetectingFinalMethodsTest

What version of the product are you using? On what operating system?
I'm running 1.9.5, on Windows 7, and Java 1.7.0_45-b18 

Please provide any additional information below.

I think the problem is unique to JDK 7. I believe I've seen the same issue on 
the Mac, so I don't think it's a Windows issue.

Original issue reported on code.google.com by ladlest...@gmail.com on 3 Dec 2013 at 7:52

GoogleCodeExporter commented 8 years ago
Cannot reproduce on my Mac, I dont't think it's related to the OS anyway. The 
build can still be produced with ant, but we are moving the build script to 
gradle.

Anyway about your issue you may have something else going on.

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 2:51

GoogleCodeExporter commented 8 years ago
Nope, there's now something wrong build fail occasionaly on travis too.
I have absolutely no idea what, because it builds fine on my box, and never 
encountered any issue so far.

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 7:15

GoogleCodeExporter commented 8 years ago

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 7:15

GoogleCodeExporter commented 8 years ago
FWIW, it's been consistent for me, whether on the Mac, or on Windows. (I'm 
forced to be on Windows for the moment. It's not my fault.)

Original comment by ladlest...@gmail.com on 4 Dec 2013 at 7:30

GoogleCodeExporter commented 8 years ago
ewww, sorry for you ;)

Original comment by brice.du...@gmail.com on 4 Dec 2013 at 7:55

GoogleCodeExporter commented 8 years ago
I have exactly the same issue - building on Windows 7, jdk 7. Sometimes the 
builds passes, sometimes it doesn't. On Travis never encountered this issue. 

Original comment by marcin.g...@gmail.com on 21 Dec 2013 at 6:03

GoogleCodeExporter commented 8 years ago
It may be a an issue with our concurrent code on the JDK7.

Actually I've seen other tests failing on travis. That's a bit unsettling, I've 
never encountered this issue in any client project on JDK7. 

Original comment by brice.du...@gmail.com on 24 Dec 2013 at 12:06

GoogleCodeExporter commented 8 years ago
Issue 483 has been merged into this issue.

Original comment by brice.du...@gmail.com on 5 Aug 2014 at 1:30