On 3 May 2010 18:54, Niclas Hedhman <[email protected]> wrote:

> On Mon, May 3, 2010 at 6:11 PM, Rickard Öberg <[email protected]>
> wrote:
>
> >>  * Let the enhancer know about special handling of ^java.* package
> >> names and stick the result in our own namespace.
> >
> > I think this should work. IIRC there's a hook for the namespace handling,
> so
> > it shouldn't be that difficult.
>
> Ok... I am too nervous about such...
>
> >>
> >>  * Change the Lock library to not use the RRWL directly in this fashion.
>
> Meanwhile, I have removed ReentrantReadWriteLock to be a mixin
> directly and put in a small facade. Solves the problem this time...
>
> Stuart; Good Tip. Sure there won't be some strange problems with such
> approach (having $ as first letter in package names)?
>

http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.8

   "The Java letters include uppercase and lowercase ASCII Latin letters
A-Z  (\u0041-\u005a), and a-z  (\u0061-\u007a), and, for historical reasons,
the ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $
character should be used only in mechanically generated source code or,
rarely, to access preexisting names on legacy systems."

HTH

Cheers
> --
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>

-- 
Cheers, Stuart
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to