Why is scope() not generated for my library?
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Feb 26 19:03:06 UTC 2019
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?
Maurizio
On 26/02/2019 18:52, Lev Serebryakov wrote:
> On 26.02.2019 21:39, Maurizio Cimadamore wrote:
>
> I don't understand, why, but I didn't get message from Jorn Vernee, so
> I answer here.
>
> I've put resulting JAR to
>
> http://lev.serebryakov.spb.ru/_sklad/fftw3.jar
>
> I've tried to import this JAR to simply IDEA project, and could not
> find this method after class decompilation. Simple search for "Scope"
> bytes in class file brings nothing too.
>
>> Thanks Jorn - I'll wait then before taking further action on this; the
>> fact that you are on the same platform puts you in a better position to
>> at least figure out where jextract is going wrong.
>>
>> Maurizio
>>
>> On 26/02/2019 16:50, Jorn Vernee wrote:
>>> Hi Lev,
>>>
>>> I've tried out jextract with that library as well, but I'm seeing the
>>> scope() method being generated correctly, e.g. when I decompile the
>>> generated jar I see:
>>>
>>> ```
>>> public static Scope scope() {
>>> return Libraries.libraryScope(_theLibrary);
>>> }
>>> ```
>>>
>>> In org.fftw3.fftw3_h
>>>
>>> What code are you using to test with?
>>>
>>> Thanks,
>>> Jorn
>>>
>>> Lev Serebryakov schreef op 2019-02-26 17:33:
>>>> On 26.02.2019 19:26, Maurizio Cimadamore wrote:
>>>>
>>>>> That's odd! We'll give this a try and see if we can reproduce.
>>>> I'm using official libfftw32 Windows build:
>>>>
>>>> ftp://ftp.fftw.org/pub/fftw/fftw-3.3.5-dll64.zip
>>>>
>>>> I'm using minimal Visual Studio Build Tools 2017 with Win SDK
>>>> 10.1.17763.132
>
More information about the panama-dev
mailing list