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


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

Re: Problem compiling with 9 for 8

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Problem compiling with 9 for 8
Date 2017-10-02 20:24 -0400
Organization Aioe.org NNTP Server
Message-ID <oqulbl$1pcp$1@gioia.aioe.org> (permalink)
References (3 earlier) <oqu6f5$11qu$1@gioia.aioe.org> <oqu9tn$10e$1@dont-email.me> <oquj4l$1mk4$1@gioia.aioe.org> <oquk56$1nob$1@gioia.aioe.org> <oqukls$1oh2$1@gioia.aioe.org>

Show all headers | View raw


On 10/2/2017 8:12 PM, Arne Vajhøj wrote:
> But I was wrong about the implementation.
> 
> It does not use the old rt.jar.
> 
> https://bugs.openjdk.java.net/browse/JDK-8058150
> 
> <quote>
> For JDK N and --release M, M < N, signature data of the documented APIs 
> of release M of the platform is needed. This data is stored in the 
> $JDK_ROOT/lib/ct.sym file, which is similar, but not the same, as the 
> file of the same name in JDK 8. The ct.sym file is a ZIP file containing 
> stripped-down class files corresponding to class files from the target 
> platform versions.
> </quote>
> 
> So --release should work without the old rt.jar, but zipinfo on
> ct.sym reveals that JavaFX is not included in it.
> 
> So therefore an actual old jfxrt.jar is needed.

Some googling reveals that ct.sym was introduced as far
back as Java 6.

Arne

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


Thread

Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 10:51 -0500
  Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 14:25 -0400
    Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 14:49 -0500
      Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 16:10 -0400
        Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-02 16:08 -0500
          Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 19:46 -0400
            Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:03 -0400
              Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:12 -0400
                Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-02 20:24 -0400
                Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-03 10:32 -0500
                Re: Problem compiling with 9 for 8 Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 20:48 -0400
                Re: Problem compiling with 9 for 8 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-04 17:27 -0500

csiph-web