On Oct 6, 2009, at 9:03 PM, Sergiu Dumitriu wrote:
Vincent Massol wrote:
Hi,
In order to fix issue
http://jira.xwiki.org/jira/browse/XWIKI-4428
I've had to dive very deep and fix Sun's URLClassLoader which has a
large number of problems. To do so I had to rewrite several classes
and I've taken sources from Emory Utilities
(
http://dcl.mathcs.emory.edu/php/loadPage.php?content=util/features.html#cla…
) and modified them slightly (since they were missing the ability to
support custom URL Stream handlers).
So I have a new URIClassLoader that extends URLClassLoader + a set
of
associated classes (stream handlers and url connection
implementations).
I'd like to commit this in a new xwiki-classloader module, dedicated
to classloading code (same as we have xwiki-xml for ex).
Let me know if you need more details.
Emory Utilities code is in the public domain (no copyright). I don't
know if we can relicense it under LGPL, so what does that mean for
our code?
It looks ok for me:
"
[snip]
Dedicator makes this dedication for the benefit of the public at
large and to the detriment of the Dedicator's heirs and successors.
Dedicator intends this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights under
copyright law, whether vested or contingent, in the Work. Dedicator
understands that such relinquishment of all rights includes the
relinquishment of all rights to enforce (by lawsuit or otherwise)
those copyrights in the Work.
Dedicator recognizes that, once placed in the public domain, the
Work may be freely reproduced, distributed, transmitted, used,
modified, built upon, or otherwise exploited by anyone for any
purpose, commercial or non-commercial, and in any way, including by
methods that have not yet been invented or conceived.
"
"
You can apply your own license to public domain code at will. So just
attach a normal GeoTools header (copyright PMC and license LGPL) to
it, and then add some notes giving credit to the original authors and
making sure it is clear where it came from.
"
Thanks
-Vincent