Why is scope() not generated for my library?

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Feb 26 21:20:45 UTC 2019


On 26/02/2019 19:18, Lev Serebryakov wrote:
> On 26.02.2019 22:03, Maurizio Cimadamore wrote:
>
>> I don't see the scope() method in your jar file either, so it's not just
>> you.
>>
>> But... are you sure you are using the latest build here:
>>
>> https://jdk.java.net/panama/
>>
>> (build 44) ?
>>
>> If you are using the previous build (from a week before), that won't
>> generate the scope() accessor; that would explain the weirdness?
>    Oooops, I've messed up downloads somehow. Yes. it is previous build,
> openjdk-13-foreign+31_windows-x64_bin.zip.
>
>    I've tried PROPER latese build and it works.
>
>    Sorry for noise on the list.
Well, we did our part in the noise, by releasing two EAs back to back :-)
>
>    Idea: put version and build of jextractor to generated files.

That's a nice idea; note that you can also get info about the build 
number from the 'java' command:

$ java -version
openjdk version "13-internal" 2019-09-17
OpenJDK Runtime Environment (build 13-internal+0-jdk13-panama.44)
OpenJDK 64-Bit Server VM (build 13-internal+0-jdk13-panama.44, mixed 
mode, sharing)


See that .44 suffix above.


Maurizio


>


More information about the panama-dev mailing list