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

jira-yCVjj/[email protected] Sun, 28 Mar 2004 18:51:37 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
Message:

   The following issue has been closed.

   Resolver: Aslak Hellesoy
       Date: Sun, 28 Mar 2004 6:49 PM

Nice patch!
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             nanoweb
   Fix Fors:
             1.0-beta-1

   Assignee: Aslak Hellesoy
   Reporter: Kouhei Mori

    Created: Sat, 27 Mar 2004 3:51 PM
    Updated: Sun, 28 Mar 2004 6:49 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