[jira] Updated: (NANO-60) CachingScriptClassLoader does not reload modified scripts

jira-yCVjj/[email protected] Sat, 27 Mar 2004 15:52:32 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following issue has been updated:

    Updater: Kouhei Mori (mailto:[email protected])
       Date: Sat, 27 Mar 2004 3:52 PM
    Changes:
             Attachment changed to CachingScriptClassLoader.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-60&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-60

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-60
    Summary: CachingScriptClassLoader does not reload modified scripts
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             nanoweb

   Assignee: 
   Reporter: Kouhei Mori

    Created: Sat, 27 Mar 2004 3:51 PM
    Updated: Sat, 27 Mar 2004 3:52 PM
Environment: Groovy 1.0 beta4, Jetty 4.2.19

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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira