On 2012-04-30 21:17, Paul Phillips wrote:
> I was hoping this would work already, but I guess that was asking a lot.
>
> package java.lang;
>
> public class String$ {
> public static String$ MODULE$ = new String$();
> public String Bippy = "abc";
> }
If the use case for this is pimping standard Java objects with new
methods, you'll run into another problem. You can't access a class in a
java.* package through a normal classloader. Only system extensions in
java.ext.dirs are allowed to use those packages.
-sz