Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 392524

Summary: EventUtil#getLastEventTime returns negative values
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1 CC: ruediger.herrmann
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-10-21 03:31:42 EDT
In the last nightly build 9 tests failed. I can reproduce the failure in my local workspace too. After a short debug I found that EventUtil#getLastEventTime returns negative times:
System.currentTimeMillis() -> 1350804551705
( int )System.currentTimeMillis() -> -2110114008
As a result event order of radio buttons deselection/selection is broken too.
Comment 1 Ivan Furnadjiev CLA 2012-10-22 02:05:56 EDT
Fixed in master with commit 9aff10d9afb0b9e9daebdaa01f3da35efd4092e8. Replaced long to int casting with mod by Integer.MAX_VALUE.