Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-14 Thread Adam Sotona
On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-13 Thread David Holmes
On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-13 Thread Leonid Mesnik
On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-13 Thread Magnus Ihse Bursie
On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-13 Thread Adam Sotona
On Mon, 13 Jan 2025 08:14:08 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v7]

2025-01-13 Thread Magnus Ihse Bursie
On Mon, 13 Jan 2025 07:52:08 GMT, Adam Sotona wrote: > Is there a way to pre-compile a test library and point related tests (or > maybe all hotspot tests) to the library jar? My initial thought was just to add the jar to the classpath, but maybe it is better to use an explicit `@library` tag.

Re: RFR: 8346986: Remove ASM from java.base [v7]

2025-01-13 Thread Adam Sotona
On Mon, 13 Jan 2025 07:40:06 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v8]

2025-01-13 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v7]

2025-01-13 Thread Alan Bateman
On Mon, 13 Jan 2025 07:40:06 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v7]

2025-01-12 Thread Adam Sotona
On Mon, 13 Jan 2025 07:40:06 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v7]

2025-01-12 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-12 Thread Alan Bateman
On Fri, 10 Jan 2025 15:39:20 GMT, Adam Sotona wrote: >> Adam Sotona has updated the pull request incrementally with one additional >> commit since the last revision: >> >> removed jdk.internal package prefix from asm > > Thanks for the reviews. I'll update the copyright years and run again ti

Re: RFR: 8346986: Remove ASM from java.base [v6]

2025-01-12 Thread David Holmes
On Fri, 10 Jan 2025 16:12:54 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-10 Thread Magnus Ihse Bursie
On Fri, 10 Jan 2025 15:39:20 GMT, Adam Sotona wrote: > Jtreg seems to have no problems to use ASM as a declared library. Whan you say "no problems", I guess you are referring to the pass rate of the tests. But how does it affect the runtime spent doing testing? I must insist that "just moving"

Re: RFR: 8346986: Remove ASM from java.base [v6]

2025-01-10 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v5]

2025-01-10 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v4]

2025-01-10 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-10 Thread Adam Sotona
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-10 Thread Magnus Ihse Bursie
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-09 Thread Leonid Mesnik
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-09 Thread Alan Bateman
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-09 Thread Alan Bateman
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-09 Thread Andrey Turbanov
On Thu, 9 Jan 2025 08:40:37 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base [v3]

2025-01-09 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base [v2]

2025-01-09 Thread Adam Sotona
On Wed, 8 Jan 2025 07:21:36 GMT, Adam Sotona wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Adam S

Re: RFR: 8346986: Remove ASM from java.base

2025-01-09 Thread Alan Bateman
On Wed, 8 Jan 2025 22:14:21 GMT, David Holmes wrote: > Moving the ASM library requires modifying every single test that uses it. Right, as without it there will be warnings due to jtreg launching tests to export packages that aren't in java.base. There may also be a few tests that use launch c

Re: RFR: 8346986: Remove ASM from java.base

2025-01-08 Thread David Holmes
On Wed, 8 Jan 2025 06:52:10 GMT, Adam Sotona wrote: > BTW: purpose of this PR is to seamlessly remove ASM from java.base and it is > slightly turning into a massive synchronous refactoring of several hundreds > of hotspot tests. Moving the ASM library requires modifying every single test that

Re: RFR: 8346986: Remove ASM from java.base [v2]

2025-01-07 Thread Adam Sotona
> There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Adam Sotona has updated the pull request incrementally with one additio

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Leonid Mesnik
On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona wrote: > There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam so you if add asm

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Alan Bateman
On Wed, 8 Jan 2025 01:14:00 GMT, David Holmes wrote: > It is not appropriate for anything outside the platform modules to claim to > be part of `jdk.internal`. In fact I'm surprised we are even allowed to add > to that from outside the module! There's nothing to prohibit this, it's just surpri

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Adam Sotona
On Wed, 8 Jan 2025 06:57:04 GMT, Alan Bateman wrote: > > you can revert the changes that we have in the jdk repo so it goes back to > .org.objectweb.asm that represents a refactoring with >1200 changes in >250 files across multiple repositories - PR Comment: https://git.openjdk.

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Alan Bateman
On Tue, 7 Jan 2025 22:19:22 GMT, Adam Sotona wrote: > Despite the 265 modified files is this PR trying to be minimalistic. > Repackaging of the library would be far more complex and would affect > significantly more files, including the library itself. I would recommend to > invest that effort

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Adam Sotona
On Wed, 8 Jan 2025 01:45:48 GMT, Leonid Mesnik wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > I th

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Leonid Mesnik
On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona wrote: > There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam I think it is mak

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread David Holmes
On Tue, 7 Jan 2025 20:19:53 GMT, Alan Bateman wrote: >> There are no more consumers of ASM library except for hotspot tests. >> This patch moves ASM library from java.base module to the hotspot test >> libraries location and fixes the tests. >> >> Please review. >> >> Thanks, >> Adam > > Movin

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread David Holmes
On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona wrote: > There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Test libraries be

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Adam Sotona
On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona wrote: > There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam I've decided to m

Re: RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Alan Bateman
On Tue, 7 Jan 2025 12:49:40 GMT, Adam Sotona wrote: > There are no more consumers of ASM library except for hotspot tests. > This patch moves ASM library from java.base module to the hotspot test > libraries location and fixes the tests. > > Please review. > > Thanks, > Adam Moving it to test

RFR: 8346986: Remove ASM from java.base

2025-01-07 Thread Adam Sotona
There are no more consumers of ASM library except for hotspot tests. This patch moves ASM library from java.base module to the hotspot test libraries location and fixes the tests. Please review. Thanks, Adam - Commit messages: - fixed TestMHUnloaded - patching hotspot tests - re