Path: csiph.com!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Type conversions with the empty string Date: Mon, 20 Feb 2017 11:58:48 -0500 Organization: Aioe.org NNTP Server Lines: 54 Message-ID: References: <15m3gy8mef7tv$.93ppj4f0t83$.dlg@40tude.net> <7fa3ca72-434c-4a41-88d4-1dfe900903f2@googlegroups.com> <6174cfc5-83af-4f1c-a83a-2b83a6f9af7a@googlegroups.com> NNTP-Posting-Host: PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:36367 On 2/20/2017 11:02 AM, Jerry Stuckle wrote: > On 2/20/2017 10:25 AM, Arne Vajhøj wrote: >> On 2/20/2017 8:39 AM, Jerry Stuckle wrote: >>> And where does it say adding your own class is a modified version of >>> Oracle's runtime environment? It doesn't - because you are not >>> modifying their runtime environment. >>> >>> What if you called it arne.String? Is that OK? If so, then why not >>> java.lang.String? Neither Oracle nor anyone else can control what you >>> call your classes. >> >> There is no license problem creating a java.lang.String class. >> >> But there is a problem creating a runtime environment with that >> class combined with Oracle's stuff. >> > > Who said anything about creating a runtime environment with that class > combined with Oracle's stuff? I sure didn't. Only you did. The discussion is about a custom java.lang.String and the rest of Java library from Oarcle. >> Remember the context. Stefan is writing a Java application >> using java.lang.String. The application is intended to run >> in a standard Java runtime environment. He is concerned that >> somebody else will setup a runtime environment with >> a custom java.lang.String (and Oracle's stuff). >> > > And he can't stop that. Such is the world of programming. Once the > code leaves your hands, you have no control over what someone might do > with it. He can not stop that. The legal dispute will be between Oracle and whoever setup the modified runtime environment. >>> Nope. The class you add is in your own code, not the JRE. The JRE has >>> not been modified. >> >> The class has been made part of the runtime environment the >> Java application is executing in. > > Or included ahead of the JRE in the classpath. No. That does not work. Arne