Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24] Top Level Bug for Java 24 Support for JDT.Core #2899

Open
13 of 31 tasks
mpalat opened this issue Sep 4, 2024 · 12 comments
Open
13 of 31 tasks

[24] Top Level Bug for Java 24 Support for JDT.Core #2899

mpalat opened this issue Sep 4, 2024 · 12 comments
Assignees
Milestone

Comments

@mpalat
Copy link
Contributor

mpalat commented Sep 4, 2024

Umbrella bug for Java 24 activities - Ref :
https://openjdk.org/projects/jdk/24/
https://openjdk.org/projects/jdk/24/spec/

[for reference to previous release -> Java 23 support captured in issue #2212 ]

for updates on 24

Features for Java 24 release (may change):

Batch Compiler:

JSR 399 Issue

The following issues may warrant issues of their own - Will be created if required

  • JSR 199: Java Compiler API -
  • JSR 269: Pluggable Annotation-Processing API

IDE Support for the relevant features listed above under Batch Compiler

  • TODO

Additional Tracking Issues

JDT Core Friends' reference

@mpalat mpalat added this to the BETA_JAVA24 milestone Sep 4, 2024
@mpalat mpalat changed the title [24]Top Level Bug for Java 24 Support for JDT.Core [24] Top Level Bug for Java 24 Support for JDT.Core Sep 4, 2024
@stephan-herrmann
Copy link
Contributor

Quoting @mpalat from #2985 (reply in thread):

Have created the following milestones :

BETA_JAVA24 M1
Second Tuesday of October
First Milestone where all non- feature related issues, eg - infrastructure, testing, constants etc are targeted to

BETA_JAVA24 M2
Second Tuesday of December
All non-language changes are identified, investigated and closed.
All language grammar changes are done (maybe almost done depending on the spec freeze)

BETA_JAVA24 M3
Second Tuesday of February
All Language features completed [with a few odd number of tests still pending, perhaps]

BETA_JAVA24 RC1
Fourth Tuesday of February
All Features completed

BETA_JAVA24 RC2
Second Tuesday of March
All Pre-release testing to be done here
Quiet period until release

BETA_JAVA24
March 18, 2025
JAVA 24

plus:

for example, P build creation should be done in M1 , Y build creation, java24 addition in jenkins etc - all in M1. - Will create the detailed releng tasks and will try to target it to the earlier milestone. Some of the releng tasks, like beta removal etc - needless to say, will have to be only at the main release BETA_JAVA24 in the current case.

So, we are past M1, so let's check:

@stephan-herrmann
Copy link
Contributor

I created #3228 for this

@jarthana
Copy link
Member

jarthana commented Nov 4, 2024

* P-Build: I see nothing. Who is looking into this?

Last time, we spoke about having these scripts in JDT. I am still wondering if we should do that or keep it the current way.

@stephan-herrmann
Copy link
Contributor

* P-Build: I see nothing. Who is looking into this?

Last time, we spoke about having these scripts in JDT. I am still wondering if we should do that or keep it the current way.

Can you provide a pointer to the scripts used so far, so we can get a clearer picture?

  • there could be technical problems: we don't have a git repo that aggregates all of JDT
  • there could be dependencies on other parts of platform releng, which we are unfamiliar with, cannot control.

If all fails, we could even try to script this on our own: pulling artifacts from a Y-Build and only perform these additional steps:

  • compile the tiny feature jar file
  • generate p2 metadata
  • get additional files signed

All might perhaps be solved with just a few shell commands?

@jarthana
Copy link
Member

jarthana commented Nov 4, 2024

Can you provide a pointer to the scripts used so far, so we can get a clearer picture?

These are the ones: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/tree/master/cje-production/P-build
@MohananRahul can correct me if there's more.

* there could be technical problems: we don't have a git repo that aggregates all of JDT

My first thought was we could put them in https://github.com/eclipse-jdt/eclipse.jdt. I don't know if the repo really has to aggregate all the bundles to be built. Honestly, I am not sure one way or other.

@stephan-herrmann
Copy link
Contributor

stephan-herrmann commented Nov 4, 2024

Can you provide a pointer to the scripts used so far, so we can get a clearer picture?

These are the ones: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/tree/master/cje-production/P-build

Thanks this helps!

At the core I see one mvn invocation in mb220_buildSdkPatch.sh which uses this pom.

So far nothing fancy (except for the large number of build properties).

  • there could be technical problems: we don't have a git repo that aggregates all of JDT

My first thought was we could put them in https://github.com/eclipse-jdt/eclipse.jdt. I don't know if the repo really has to aggregate all the bundles to be built. Honestly, I am not sure one way or other.

java23patch/pom.xml expects all these mvn modules to be accessible in the filesystem:

  <modules>
    <module>../../eclipse-platform-parent</module>
    <module>../../eclipse.platform.releng.prereqs.sdk</module>
    <module>org.eclipse.jdt.dummy</module>
    <module>org.eclipse.jdt-feature-dummy</module>
    <module>../../eclipse.jdt.core/org.eclipse.jdt.core</module>
    <module>../../eclipse.jdt.core/org.eclipse.jdt.core.compiler.batch</module>
    <module>../../eclipse.jdt.ui/org.eclipse.jdt.ui</module>
    <module>../../eclipse.jdt.ui/org.eclipse.jdt.core.manipulation</module>
    <module>../../eclipse.jdt.ui/org.eclipse.jdt.astview</module>
    <module>../../eclipse.jdt.debug/org.eclipse.jdt.launching</module>
    <module>org.eclipse.jdt.java23patch</module>
    <module>eclipse.releng.repository.java23patch</module>
  </modules>

The releng build uses git submodules to pull all those into the aggregator git. I don't think we'd want to start anything like that.

Perhaps the approach of least effort is: to essentially use those scripts indeed, but rather then relying on git submodules, use a shell script to manually clone (or export) individual jdt repos into folders of the jenkins workspace.

I'm just not yet convinced that a full blown build is even necessary, given that we could pull artifacts from a Y-Build, and only add the feature plus metadata.

I might give both strategies a try - time permitting :)

@akurtakov
Copy link
Contributor

@stephan-herrmann Full build is not needed according to me too and @merks even proved the P-build could be done far simpler in eclipse-platform/eclipse.platform.releng.aggregator#2341 (comment)

@stephan-herrmann
Copy link
Contributor

@stephan-herrmann Full build is not needed according to me too and @merks even proved the P-build could be done far simpler in eclipse-platform/eclipse.platform.releng.aggregator#2341 (comment)

Thanks for the reminder, but I think this is not much different from cje-production/P-build/mb220_buildSdkPatch.sh and assumes to be run in the aggregator context with git submodules, no? (See that several jdt plugins from different git repos are built as part of one maven build). Our purpose here, however, is to become independent of that aggregator context, as to unburden platform releng :)

@MohananRahul
Copy link
Contributor

Can you provide a pointer to the scripts used so far, so we can get a clearer picture?

These are the ones: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/tree/master/cje-production/P-build @MohananRahul can correct me if there's more.

Yes @jarthana and also https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/JenkinsJobs/YBuilds/P_build.groovy ,Jenkins Job

@stephan-herrmann
Copy link
Contributor

Can you provide a pointer to the scripts used so far, so we can get a clearer picture?

These are the ones: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/tree/master/cje-production/P-build @MohananRahul can correct me if there's more.

Yes @jarthana and also https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/JenkinsJobs/YBuilds/P_build.groovy ,Jenkins Job

Thanks, @MohananRahul , so there is some more complexity :)

With all that input, let's please continue in #3244, thanks.

@stephan-herrmann
Copy link
Contributor

Monitoring of test results in ep434Y-unit-cen64-gtk3-java24 looks promising

Plus one failure in releng (regarding comparator logs, which I believe we can ignore for the time being).

@mpalat
Copy link
Contributor Author

mpalat commented Nov 29, 2024

I updated the list yesterday night and at this point - this list may not have too many changes now, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants