You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing rules when using java.time.Local* classes #36
When using envCreationTime = System.currentTimeMillis(); invocation in the constructor of the Lambda function
I get the finding of type AWS_LAMBDA_SNAP_START_BUG in the category CORRECTNESS.
But I didn't get the same finding invoking one of the following in the consturctor instead:
I totally understand that using System.currentTimeMillis() is the simplest way to get the current time in millis , but using java.time.Local* abstractions also belongs the standard sicne Java 8.
Activity
tobixlea commentedon Dec 9, 2025
Thank you for bringing up this issue to us. We have updated the rules to include using jave.time.Local*. The PR for this change can be found here
tobixlea commentedon Dec 9, 2025
Marking issue as resolved and closed