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


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

Re: Java 9

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java 9
Date Thu, 25 Jan 2018 20:16:26 -0500
Organization Aioe.org NNTP Server
Lines 33
Message-ID <p4dvh9$n10$1@gioia.aioe.org> (permalink)
References <31ae5b61-c6df-4c97-91e7-c33fa9571822@googlegroups.com> <c589f66d-9076-4bb5-9839-f2e9c08d1199@googlegroups.com>
NNTP-Posting-Host PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
Content-Language en-US
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.java.programmer:38002

Show key headers only | View raw


On 1/25/2018 4:10 PM, Eric Douglas wrote:
> On Thursday, January 25, 2018 at 4:04:12 PM UTC-5, Eric Douglas wrote:
>> I'm looking for
>> sun.swing.SwingUtilities2.liesInVertical(Rectangle rect, Point p, boolean three)
>> sun.swing.SwingUtilities2.getTreePath(TreeModelEvent event, TreeModel model)
>>
>> and org.w3c.dom classes for use with batik's SVG generator.
> 
> SwingUtilities2 is not available in JDK 9, and I can't find it anywhere other than rt.jar from Java 8.

My Java 8 gives me:

"warning: SwingUtilities2 is internal proprietary API and may be removed 
in a future release"

Look like they meant that!

:-)

If you want the Java 8 behavior in Java 9 then you can use:

javac --add-exports java.desktop/sun.swing=ALL-UNNAMED ...
java --add-exports java.desktop/sun.swing=ALL-UNNAMED ...

But maybe you should rewrite.

> The error on the dom is actually "The package org.w3c.dom is accessible from more than one module"

How does the code that gives this error look like?

Arne

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


Thread

Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-25 13:03 -0800
  Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-25 13:10 -0800
    Re: Java 9 Arne Vajhøj <arne@vajhoej.dk> - 2018-01-25 20:16 -0500
      Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:43 -0800
  Re: Java 9 Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-25 17:09 -0500
    Re: Java 9 Arne Vajhøj <arne@vajhoej.dk> - 2018-01-25 20:00 -0500
    Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:16 -0800
      Re: Java 9 Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-01-26 09:37 -0500
  Re: Java 9 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-01-25 17:23 -0600
    Re: Java 9 Hiram Hunt <hiramhunt@verizon.net> - 2018-01-26 08:31 -0500
      Re: Java 9 Eric Douglas <e.d.programmer@gmail.com> - 2018-01-26 06:06 -0800
        Re: Java 9 Kiwi User <martin@mydomain.invalid> - 2018-01-26 15:18 +0000

csiph-web