Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-1
-
Component/s: nanowar
-
Labels:None
-
Environment:Groovy 1.0 beta4, Jetty 4.2.19
-
Number of attachments :
Description
URLConnection#getDate() is not appropriate to detect scripts modification. (because, always return 0 for file protocol)
URLConnection#getLastModified() seems to work well.
And I suppose, HashMap (groovyActionLoadTimestamps and scriptClasses) should be synchronized.
Activity
Kouhei Mori
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | CachingScriptClassLoader.diff [ 11729 ] |
Aslak Hellesøy
made changes -
Resolution | Fixed [ 1 ] | |
Fix Version/s | 1.0-beta-1 [ 10147 ] | |
Assignee | Aslak Hellesoy [ rinkrank ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Nice patch!