We're updating the issue view to help you get more done. 

DurationBridgeTest assumes an overflow not happening on JDK9

Description

Digged into this test which would fail only on JDK9, to figure out if it was a regression of Java.

It turns out that DurationBridgeTest.testExceptionValueTooSmall is attempting to force an overflow in the computation of the Duration, however JDK9 is smarter in performing the computation and avoids the overflow (so failing the test).

So it's not a regression but an improvement.

It doesn't seem worth to try fooling it in some other way; we could use Byteman but I'd rather remove this test.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Minor