Re: building the JDK on Windows using Cygwin

2024-07-01 Thread Anil
Thank you for your reply. I ran the Visual Studio Setup and installed both Build Tools 2019, and also Visual Studio 2022. I enabled the checkboxes in *both* for Desktop Development with C++. I tried it but failed. I opened Administrator window in both Powershell and CMD but both gave "Access is de

Re: building the JDK on Windows using Cygwin

2024-07-01 Thread Chen Liang
Hi Anil, I will share how I set up Visual Studio 2022 (2019 is a bit old now) for building JDK. First, I go to https://visualstudio.microsoft.com to download the visual studio setup (which installs an installer) Once in the installer, go to visual studio, and select "Desktop Development with C++" w

Re: building the JDK on Windows using Cygwin

2024-07-01 Thread Anil
[Erik] " You could try enabling 8dot3name on the whole volume (C:) using fsutil [1], " I don't know what this means and the side effects. I don't want to try this on the entire C: There must be people using Windows11 and Cygwin64 who have gotten OpenJDK to build? On Mon, Jul 1, 2024 at 1:59 AM w

Re: RFR: 8312425: [vectorapi] AArch64: Optimize vector math operations with SLEEF [v9]

2024-07-01 Thread Hamlin Li
> Hi, > Can you help to review the patch? > This pr is based on previous work and discussion in [pr > 16234](https://github.com/openjdk/jdk/pull/16234), [pr > 18294](https://github.com/openjdk/jdk/pull/18294). > > Compared with previous prs, the major change in this pr is to integrate the > sou

Re: RFR: 8317611: Add a tool like jdeprscan to find usage of restricted methods [v11]

2024-07-01 Thread Jorn Vernee
> This PR adds a new JDK tool, called `jnativescan`, that can be used to find > code that accesses native functionality. Currently this includes `native` > method declarations, and methods marked with `@Restricted`. > > The tool accepts a list of class path and module path entries through > `--

Re: RFR: 8317611: Add a tool like jdeprscan to find usage of restricted methods [v10]

2024-07-01 Thread Julian Waters
On Fri, 28 Jun 2024 19:43:36 GMT, Jorn Vernee wrote: >> This PR adds a new JDK tool, called `jnativescan`, that can be used to find >> code that accesses native functionality. Currently this includes `native` >> method declarations, and methods marked with `@Restricted`. >> >> The tool accepts

Re: RFR: 8324966: Allow selecting jtreg test case by ID

2024-07-01 Thread Erik Joelsson
On Mon, 1 Jul 2024 06:49:15 GMT, Axel Boldt-Christmas wrote: > [JDK-8287828](https://bugs.openjdk.org/browse/JDK-8287828) added support for > selecting specific JTREG tests cases by their ID. However because of how we > handle input strings in make it was not possible to use `#` anywhere, > b

Re: building the JDK on Windows using Cygwin

2024-07-01 Thread erik . joelsson
Hello Anil, On 6/30/24 12:50, Anil wrote: I went into the VC.../bin directory to get the actual path and tried again, but it failed. $ bash configure --with-boot-jdk=/c/Users/Anil/OpenJDK/jdk-22.0.1 --enable-debug --with-tools-dir="C:\PROGRA~2\Microsoft Visual Studio\2019\BuildTools\VC\Tools