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


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

Re: Surprise!

Path csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Surprise!
Date Mon, 27 Apr 2020 10:09:07 -0400
Organization Aioe.org NNTP Server
Lines 34
Message-ID <r86p22$n0n$1@gioia.aioe.org> (permalink)
References <Main.java-20190919202538@ram.dialup.fu-berlin.de> <r83j0k$f1$1@dont-email.me> <r840l4$ius$1@dont-email.me> <1t2omfi424j5x.v6vd61lcman0$.dlg@40tude.net> <r86i86$r3j$1@dont-email.me> <r86jgr$1lmt$1@gioia.aioe.org>
NNTP-Posting-Host O5hsyUvK01te0L/SZurVSQ.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:68.0) Gecko/20100101 Thunderbird/68.7.0
Content-Language en-US
X-Notice Filtered by postfilter v. 0.9.2
Xref csiph.com comp.lang.java.programmer:39465

Show key headers only | View raw


On 4/27/2020 8:34 AM, Arne Vajhøj wrote:
> 8 -> 11 is one of them.
> 
> Things to be aware of include:
> * if you use unsupported SUN classes then you may need ti
>    circumvent the module system introduced in Java 9 to
>    get your stuff to build and run
> * if you use JAX-WS or JAXB then that is now a
>    separate download - it is no longer builtin
>    Java SE
> * if you use JavaFX then that is now a
>    separate download - it is no longer builtin
>    Java SE
> * if you use CORBA then you need to find
>    another implementation
> 
> But if you get JAX-WS and JAXB then my guess is that 99.8% of all
> Java 8 code will work with 11.

They did try to avoid breaking things.

This code actually works:

public class NewStuff {
	public static void main(String[] args) {
		int var = 123;
		var i = 456;
		System.out.println(var + i);
	}
}


Arne

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


Thread

Re: Surprise! Jeff Higgins <invalid@invalid.org> - 2020-04-26 05:06 -0400
  Re: Surprise! Martin Gregorie <martin@mydomain.invalid> - 2020-04-26 13:00 +0000
    Re: Surprise! Joerg Meier <joergmmeier@arcor.de> - 2020-04-27 09:13 +0200
      Re: Surprise! Martin Gregorie <martin@mydomain.invalid> - 2020-04-27 12:12 +0000
        Re: Surprise! Arne Vajhøj <arne@vajhoej.dk> - 2020-04-27 08:34 -0400
          Re: Surprise! Martin Gregorie <martin@mydomain.invalid> - 2020-04-27 13:52 +0000
            Re: Surprise! Arne Vajhøj <arne@vajhoej.dk> - 2020-04-27 10:04 -0400
          Re: Surprise! Arne Vajhøj <arne@vajhoej.dk> - 2020-04-27 10:09 -0400
        Re: Surprise! Eric Douglas <e.d.programmer@gmail.com> - 2020-04-27 06:36 -0700
          Re: Surprise! Arne Vajhøj <arne@vajhoej.dk> - 2020-04-27 09:46 -0400

csiph-web