Re: RFR: 8334714: Class-File API leaves preview

2024-06-21 Thread Adam Sotona
On Fri, 21 Jun 2024 12:31:05 GMT, Alan Bateman  wrote:

> Looks like this has been accidentally created as a sub-task of the JEP issue, 
> I assume you'll fix that. Will there be another issue to update the tests and 
> drop `@enablePreview`?

I thought the implementation is usually created as a subtask of JEP, however I 
can make it a standalone bug if neede.

Yes, there will be follow up task to clean all the `@enablePreview` mess, I'll 
create it.

-

PR Comment: https://git.openjdk.org/jdk/pull/19826#issuecomment-2182673557


Re: RFR: 8334714: Class-File API leaves preview

2024-06-21 Thread Adam Sotona
On Fri, 21 Jun 2024 11:56:37 GMT, Adam Sotona  wrote:

> Class-File API is leaving preview.
> This is a removal of all `@PreviewFeature` annotations from Class-File API.
> It also bumps all `@since` tags and removes 
> `jdk.internal.javac.PreviewFeature.Feature.CLASSFILE_API`.
> 
> Please review.
> 
> Thanks,
> Adam

Any potential API changes should be merged first, to avoid impression of 
changing a non-preview API.
However any discussion and approval processes of API and documentation changes 
should not block the JEP process (and each other).

Cleaning up preview-enabled tests has a lower priority and should follow.

-

PR Comment: https://git.openjdk.org/jdk/pull/19826#issuecomment-218256


Re: RFR: 8334714: Class-File API leaves preview

2024-06-21 Thread Alan Bateman
On Fri, 21 Jun 2024 11:56:37 GMT, Adam Sotona  wrote:

> Class-File API is leaving preview.
> This is a removal of all `@PreviewFeature` annotations from Class-File API.
> It also bumps all `@since` tags and removes 
> `jdk.internal.javac.PreviewFeature.Feature.CLASSFILE_API`.
> 
> Please review.
> 
> Thanks,
> Adam

Looks like this has been accidentally created as a sub-task of the JEP issue, I 
assume you'll fix that. Will there be another issue to update the tests and 
drop `@enablePreview`?

-

PR Comment: https://git.openjdk.org/jdk/pull/19826#issuecomment-2182663458


Re: RFR: 8334714: Class-File API leaves preview

2024-06-21 Thread Chen Liang
On Fri, 21 Jun 2024 11:56:37 GMT, Adam Sotona  wrote:

> Class-File API is leaving preview.
> This is a removal of all `@PreviewFeature` annotations from Class-File API.
> It also bumps all `@since` tags and removes 
> `jdk.internal.javac.PreviewFeature.Feature.CLASSFILE_API`.
> 
> Please review.
> 
> Thanks,
> Adam

Do we intend to do it after we finish our planned API changes or as soon as 
possible? Also we might need to look at the preview-enabled test treatments.

-

PR Comment: https://git.openjdk.org/jdk/pull/19826#issuecomment-2182652273


RFR: 8334714: Class-File API leaves preview

2024-06-21 Thread Adam Sotona
Class-File API is leaving preview.
This is a removal of all `@PreviewFeature` annotations from Class-File API.
It also bumps all `@since` tags and removes 
`jdk.internal.javac.PreviewFeature.Feature.CLASSFILE_API`.

Please review.

Thanks,
Adam

-

Commit messages:
 - bumped @since tag
 - 8334714: Class-File API leaves preview

Changes: https://git.openjdk.org/jdk/pull/19826/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk=19826=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334714
  Stats: 718 lines in 166 files changed: 0 ins; 479 del; 239 mod
  Patch: https://git.openjdk.org/jdk/pull/19826.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19826/head:pull/19826

PR: https://git.openjdk.org/jdk/pull/19826