Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve file last modified time detection #61

Merged

Conversation

avpinchuk
Copy link
Contributor

On some platforms when file copied, creationTime attribute of a target file may be updated with current time whereas lastModifiedTime attribute of a target file are copying from a source file.

This may leads to issue, when lastModifiedTime attribute of a new class file less than lastModifiedTime attribute of an old class file, and new class would not be loaded.

Signed-off-by: Alexander Pinčuk [email protected]

@avpinchuk
Copy link
Contributor Author

@arjantijms, please review.

@avpinchuk avpinchuk force-pushed the fix-last-modified-detection branch 2 times, most recently from 9ed510f to fa681f9 Compare October 2, 2023 21:00
Copy link
Member

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some FileSystem and FileTime niggles

@avpinchuk
Copy link
Contributor Author

@joakime, thank you for very detailed explanation!

@arjantijms arjantijms added this to the 3.2.1 milestone Oct 4, 2023
@arjantijms arjantijms added the enhancement New feature or request label Oct 4, 2023
@arjantijms arjantijms merged commit 1f9bff7 into eclipse-ee4j:master Oct 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants