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


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

Re: Java 8 Lambda binary snapshot

From BGB <cr88192@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Java 8 Lambda binary snapshot
Date 2011-11-12 20:56 -0700
Organization albasani.net
Message-ID <j9nf6l$l90$1@news.albasani.net> (permalink)
References <j9k23f$u03$1@dont-email.me> <j9mqdf$1cb$1@dont-email.me> <4ebeee82$0$292$14726298@news.sunsite.dk> <j9ncnf$bbd$1@dont-email.me>

Show all headers | View raw


On 11/12/2011 8:14 PM, markspace wrote:
> On 11/12/2011 2:09 PM, Arne Vajhøj wrote:
>
>> Requiring a Java 7 java to execute Java 8 javac output is forward
>> compatible not backward compatible.
>
>
> Hmm, I guess I was thinking of "Java 8 is not backwards compatible with
> Java 7 JVM," although there may be subtleties to that term that I'm not
> understanding.
>

the Java 7 JVM is not forwards-compatible with Java 8 bytecode.

Java 8 would fail to be backwards compatible if it failed to run apps 
compiled with the Java 7 JDK or earlier (which is not likely something 
Oracle would do).

this is because the Java 7 JVM is what is running the bytecode, not the 
other way around.


people put much effort into making sure old stuff keeps working, but 
expecting future stuff to also work is not really a workable goal (the 
best one can generally do is try to design things such that they can be 
extended gracefully and breaking as little as possible in the process).

so, maybe forwards compatibility comes in a few levels (nothing formal 
here, just categorization):
level 0: stuff blows up catastrophically due to the changes (in an 
unpredictable way, such as the program crashing or running out of control);
level 1: the unrecognized data is rejected with an error status or message;
level 2: what is recognized is handled, but the program "gracefully 
fails" regarding unrecognized data (any new features are missing, but 
everything else works mostly as expected);
level 3: everything works correctly somehow.

level 1 and 2 are probably most common.


>
>> And AFAIK then Java has never promised or intended being
>> forward compatible.
>
>
> My main goal was to point out to folks here who may try that snapshot
> that "it's not all there yet" so they didn't spend too much time
> spinning their wheels if they found something that didn't run. Likely,
> it's the JDK that probably isn't 100% yet, not the coder.
>

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


Thread

Java 8 Lambda binary snapshot markspace <-@.> - 2011-11-11 12:55 -0800
  Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-11 16:20 -0800
    Re: Java 8 Lambda binary snapshot markspace <-@.> - 2011-11-11 16:38 -0800
      Re: Java 8 Lambda binary snapshot Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-12 06:36 -0400
        Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-12 09:19 -0500
          Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-12 10:07 -0800
            Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-12 17:09 -0500
            Re: Java 8 Lambda binary snapshot Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-11-14 06:25 -0400
              Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-14 06:45 -0800
                Re: Java 8 Lambda binary snapshot Robert Klemme <shortcutter@googlemail.com> - 2011-11-14 23:28 +0100
                Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-15 20:34 -0500
                Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-15 22:28 -0800
                Re: Java 8 Lambda binary snapshot BGB <cr88192@hotmail.com> - 2011-11-16 07:43 -0700
                Re: Java 8 Lambda binary snapshot kensi <kensi_kensington@zoonoses.de> - 2011-11-16 12:53 -0500
                Re: Java 8 Lambda binary snapshot "Nasser M. Abbasi" <nma@12000.org> - 2011-11-16 12:20 -0600
                Re: Java 8 Lambda binary snapshot BGB <cr88192@hotmail.com> - 2011-11-16 14:27 -0700
                Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-16 14:04 -0800
                Re: Java 8 Lambda binary snapshot BGB <cr88192@hotmail.com> - 2011-11-17 10:05 -0700
                Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-16 18:57 -0500
        Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-12 09:23 -0500
    Re: Java 8 Lambda binary snapshot Roedy Green <see_website@mindprod.com.invalid> - 2011-11-13 09:12 -0800
      Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 12:39 -0500
        Re: Java 8 Lambda binary snapshot Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-13 20:13 +0000
          Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 15:43 -0500
            Re: Java 8 Lambda binary snapshot Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-13 21:06 +0000
              Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 16:16 -0500
        Re: Java 8 Lambda binary snapshot "Nasser M. Abbasi" <nma@12000.org> - 2011-11-14 08:03 -0600
          Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-14 06:51 -0800
  Re: Java 8 Lambda binary snapshot Roedy Green <see_website@mindprod.com.invalid> - 2011-11-12 04:53 -0800
  Re: Java 8 Lambda binary snapshot markspace <-@.> - 2011-11-12 14:02 -0800
    Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-12 17:09 -0500
      Re: Java 8 Lambda binary snapshot markspace <-@.> - 2011-11-12 19:14 -0800
        Re: Java 8 Lambda binary snapshot BGB <cr88192@hotmail.com> - 2011-11-12 20:56 -0700
        Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-13 05:08 -0800
        Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 10:08 -0500
          Re: Java 8 Lambda binary snapshot markspace <-@.> - 2011-11-13 08:08 -0800
            Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 12:23 -0500
        Re: Java 8 Lambda binary snapshot Roedy Green <see_website@mindprod.com.invalid> - 2011-11-13 09:23 -0800
          Re: Java 8 Lambda binary snapshot Arne Vajhøj <arne@vajhoej.dk> - 2011-11-13 12:27 -0500
          Re: Java 8 Lambda binary snapshot Lew <lewbloch@gmail.com> - 2011-11-13 11:08 -0800

csiph-web