Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: multiple inheritance in Java Date: Tue, 02 Jul 2013 14:29:23 -0400 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 2 Jul 2013 18:22:10 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="24368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gPOZHbV6/VRrQaN1D93C/q0/no1WR43A=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130529 Icedove/17.0.5 In-Reply-To: Cancel-Lock: sha1:xRW4wQTzyPddzZMW+7IGrUb8dXU= Xref: csiph.com comp.lang.java.programmer:24593 On 07/02/2013 01:40 PM, Eric Sosman wrote: > On 7/2/2013 1:17 PM, Jeff Higgins wrote: >> On 07/02/2013 12:09 AM, Eric Sosman wrote: >>> Okay. It might have been clearer if you'd chosen names that >>> weren't already taken -- although, one must admit, that's not easy >>> to do with Java's ever-growing namespace bloat. (Factoid: The HTML >>> *index* for the 7.0 API occupies eighteen meg!) >>> >> >> Java never throws anything away. I wonder about a compatibility layer. >> rt.jar would contain all of the current stuff, rtc.jar the old. > > Not sure what the separation would accomplish. All the > package names would remain unchanged, all the class and method > and field names would remain unchanged, the JavaDoc would still > have to describe them all, and the JVM would need to open one > more file than it already does. If someone wanted to expend the effort to do the pruning the following would compile with the compatibility switch on otherwise throw ClassNotFoundException. Vector v; JList l = new JList(v); I could download JDK9 or JDK9C, I guess only JDK9C compiler would include the -compatibility switch.