There is a complex piece of code that performs many complex mathematical operations.
When it is built and tested by maven on jdk 1.7, it passes all the tests. When using jdk 1.8, it fails.
Trying to find a place where the calculations go wrong in the debugger seems almost hopeless.
What are my options? Is there a tool that can scan incompatibility between jdk 1.7 and 1.8 in my code?
Is my best option to run the code in two separate debuggers and see where the difference will be?
EDIT:
@Philipp Claßen This is the most likely reason. I was hoping there would be an automated way to verify this.
@dkatzel The code was not written by me, it is poorly commented and performs scientific calculations, which for me are "woodo".
@ Mike Samuel I do not see the benefits of this approach in running two debuggers in parallel.
Thank you all for your help. It seems that two debuggers are the best way to go.
EDIT 2 The author of the source code relied on streamlining the hash maps. That was the problem.
source share