Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb Newsgroups: comp.lang.java.programmer Subject: Re: Type conversions with the empty string Date: Tue, 7 Feb 2017 08:34:06 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: References: <15m3gy8mef7tv$.93ppj4f0t83$.dlg@40tude.net> Reply-To: avl@logic.at Injection-Date: Tue, 7 Feb 2017 08:34:06 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="87c401e7fd5c11ca2d9e72899b17578d"; logging-data="22031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DBK2rRYKY3hqb7KoAPHVB" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:+LDbWzkIFqE7aNfUoMmRq41UOMw= Xref: csiph.com comp.lang.java.programmer:36244 Joerg Meier wrote: > You misunderstood. You can literally have a class named java.lang.String, > and if it is early enough on the class path, it can override "the" > java.lang.String. If this is possible (maybe by patching the JVM), then wouldn't "" be of that other j.l.String type, too?