diff --git a/src-test/src/org/openbravo/test/system/SystemServiceTest.java b/src-test/src/org/openbravo/test/system/SystemServiceTest.java
--- a/src-test/src/org/openbravo/test/system/SystemServiceTest.java
+++ b/src-test/src/org/openbravo/test/system/SystemServiceTest.java
@@ -84,6 +84,8 @@
     assertFalse(SystemService.getInstance().hasChanged(clzs, tomorrow));
 
     // 600 days in the past
+    // 1000 * 60 * 60 * 24 * 600 is larger than Integer.MAX_VALUE, and therefore the value overflows
+    // Turn the value to create the Date into long to calculate the 600 days in the past properly
     final Date past = new Date(System.currentTimeMillis() - (1000 * 60 * 60 * 24 * 600));
     assertTrue(SystemService.getInstance().hasChanged(clzs, past));
   }
