Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #31415

Re: Is it legal to backport code from JDK8 to JDK6?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: Is it legal to backport code from JDK8 to JDK6?
Date Mon, 30 Mar 2015 20:37:26 +0200
Organization albasani.net
Lines 34
Message-ID <mfc556$8so$1@news.albasani.net> (permalink)
References <a296b442-cdae-4283-9383-52a7712d9e8b@googlegroups.com> <mfc38r$al3$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net pmDZq0f5Apzhs/DcNYa0gsUwaMWS8qTprREsFGamzFuJXiRlUJAxQF039uBmDQ8RDQFEPUkmPde+7uBQYIpiZA==
NNTP-Posting-Date Mon, 30 Mar 2015 18:37:27 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="PyX8fXz5c8UNXvy0GicGlEGvjzNYPZOnQss3Q3vWSswZcvYmVO1tRTg2vio0wCInsHUhftoYXUD2IvmZ3Ifaj6JJfJOaMElr+D6+yPmb0Hmo7I6WICjqATvOceASTz8y"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1
In-Reply-To <mfc38r$al3$1@dont-email.me>
Cancel-Lock sha1:iGlYAuIPAJyQnBMijkRwCK6Tgmc=
Xref csiph.com comp.lang.java.programmer:31415

Show key headers only | View raw


Eric Sosman schrieb:
>      Written by Doug Lea with assistance from members of JCP JSR-166
>      Expert Group and released to the public domain, as explained at
> http://creativecommons.org/publicdomain/zero/1.0/

I assume what Doug Lea and collegues hacked wasn't
invented just now, has some prior art. So I guess
if somebody hacks a compatibility library out of
the java.* and javax.* path, nothing will
happen.

Except that the use of this library is clumsy,
since the java.* and javax.* path restriction
don't make it really a backward compatibility
library, so that the same client code can be used with
the old JDK and the new JDK.

Maybe if the client code uses some factory
pattern, the use of the library is less clumsy.
But still, it will be a mess. So best is replace
the bootloader with the java.* restriction as well.
He He. I guess I need to phone my lawyer now.

Bye

P.S.: Or on the other hand, convince your shop
not to use old JDK anymore and use the new
JDK, probably cheapest solution.

P.P.S.: Patching the bootloader seems to be possible:
Replacing and Patching Core Java Classes
http://media.techtarget.com/tss/static/articles/content/CovertJava/Sams-CovertJava-15.pdf

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is it legal to backport code from JDK8 to JDK6? Haddock <ffm2002@web.de> - 2015-03-30 04:37 -0700
  Re: Is it legal to backport code from JDK8 to JDK6? Jeff Higgins <jeff@invalid.invalid> - 2015-03-30 10:04 -0400
  Re: Is it legal to backport code from JDK8 to JDK6? Jan Burse <janburse@fastmail.fm> - 2015-03-30 18:43 +0200
  Re: Is it legal to backport code from JDK8 to JDK6? Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-03-30 14:06 -0400
    Re: Is it legal to backport code from JDK8 to JDK6? Jan Burse <janburse@fastmail.fm> - 2015-03-30 20:37 +0200
    Re: Is it legal to backport code from JDK8 to JDK6? Fredrik Jonson <fredrik@jonson.org> - 2015-03-31 15:58 +0000
  Re: Is it legal to backport code from JDK8 to JDK6? Sebastian <news@seyweiler.dyndns.org> - 2015-03-30 20:47 +0200
    Re: Is it legal to backport code from JDK8 to JDK6? Fredrik Jonson <fredrik@jonson.org> - 2015-03-31 16:20 +0000
      Re: Is it legal to backport code from JDK8 to JDK6? Sebastian <news@seyweiler.dyndns.org> - 2015-03-31 23:02 +0200
  Re: Is it legal to backport code from JDK8 to JDK6? Haddock <ffm2002@web.de> - 2015-04-01 11:33 -0700

csiph-web