Missing test for Java Long.MAX_VALUE in angular-ui service
KarlDegen opened this issue · comments
My setup: Windows 10 64bit on Intel, JRE Azul 21 64bit
The current expression on Line 66
if (!!user.exp) {...}
is also true, if the resource server is sending Java Long.MAX-VALUE (9223372036854776000L) as substitute for 'no date', what also exceeds JavaScript's Number.MAX_SAFE_INTEGER
That leads into the browser recalling /bff/api/me over and over again without the wanted delay and max CPU consumption