Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Jigsaw: RedHat and IBM say no Date: Mon, 1 May 2017 16:00:14 -0400 Organization: A noiseless patient Spider Lines: 37 Message-ID: References: <4d1e5cd1-f777-4262-8240-fab1924b633a@googlegroups.com> <6492b625-2a30-49b3-92ba-46594410c56d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 1 May 2017 19:57:03 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="0fe0705e9271cf57b6f981c139d744c3"; logging-data="2869"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5OCdTTeR8sKy8kw1Y97yy" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 In-Reply-To: <6492b625-2a30-49b3-92ba-46594410c56d@googlegroups.com> Content-Language: en-US Cancel-Lock: sha1:JLD1oK4n+h/UV9Rm8dAm0sR/HRI= Xref: csiph.com comp.lang.java.programmer:36564 On 5/1/2017 2:53 PM, Eric Douglas wrote: > On Monday, May 1, 2017 at 2:33:42 PM UTC-4, Arne Vajhøj wrote: >> A lot of applications should run fine unchanged on Java 9. >> >> But some will see some problems. >> >> I think the two main categories of problems will be: >> * usage of sun.* and com.sun.* classes that are no longer accessible As I understand it (perhaps imperfectly), the com.sun.* classes are fine. They're not part of Java per se, but are "fine" in the same sense that other non-core contributed classes like Apache Commons are. It's the sun.* classes that are "Subject to change without notice; the Secretary will disavow all knowledge, hic draecones." >> * already using another module system that is not Jigsaw compatible >> >> Arne > > I wonder how many big companies have how many lines of code that won't work? > I thought the sun.java was just for Windows. I believe the only one I came across was Windows specific. I haven't tested my API on my Mac yet but I aim to write platform independent code. > They're not Windows-specific, they're Oracle-specific. If you want code that's portable from Oracle's JVM to Somebody's JVM, or even from Oracle's JVM version X to Oracle's JVM version X+1, don't call anything in the sun.* packages. See: As for the question "How many coders ignored the warning?", it looks like we might soon find out ... -- esosman@comcast-dot-net.invalid Thirteen hundred sixty days to go.