Can I use jdk.incubator.vector module alone
陈书明
1952132705 at qq.com
Tue Apr 21 01:56:04 UTC 2020
Dear Panama team,
I'm interesting in the jdk.incubator.vector module. I'm working on a deflator(the compress method of Zip) using vectorAPI.
Now I have a JDK which contain the jdk.incubator.vector module. What I want to know about is that if I can use this module alone instead of the entire Panama JDK for development ? As we all know, it's not easy to make users install the whole JDK.
So I tried these steps:
1. I find the jdk.incubator.vector.jmod file in Panama JDK files and extract it, so I get its class files.
2. I create a project in IDEA with openJDK14, and add these class files in step 1 to this project as exteral library.
3. I add some test code and run it,and it works.
I really would like to know if it's OK to do like this. Maybe there are some better ways I can use to make vector API work on any other JDK instead of Panama?
It's highly appreciated if you can give me some guide. Thanks!
Sincerely ,
Chenshuming
More information about the panama-dev
mailing list