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

[22] Merge BETA_JAVA22 to master #2167 #2181

Merged
merged 34 commits into from
Mar 20, 2024
Merged

Conversation

jarthana
Copy link
Member

@jarthana jarthana commented Mar 20, 2024

What it does

Fixes #2167

How to test

Author checklist

mpalat and others added 30 commits January 16, 2024 20:48
Umbrella bug created for test failures due to jdk 22 - to be taken up as follow-up
…jdt#1637 (eclipse-jdt#2063)

 Compiler support for [22] JEP 447: Statements before super(...) (Preview)  - issue eclipse-jdt#1637 (eclipse-jdt#2063)
* Add JAVA22 support in the previous versions

* JLS version 21 common function enabled in ASTRewritingRecordPatternTest

* Remove unused code
- Report an error if implicit class is missing candidate main method
- Report an error when implicit types and its default constructors are
referenced in the same compile session
- Keep the implicit type name same as CU name
- Add Clinit to implicit types
- Fix failing tests and add more tests
# Conflicts:
#	org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/core/compiler/IProblem.java
#	org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/ast/AbstractVariableDeclaration.java
#	org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/parser/Parser.java
#	org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java
#	org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java
#	org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTNode.java

Change-Id: I00ac431c664e8789cbfa8d4d6e4fcb083fcca31d
# Conflicts:
#	org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/parser/Parser.java

Change-Id: Ib55756d8c1f919c2f0e33a1a0bfa9e58db3742a3
* AST rewrite support for String Template

* Added additional unit tests

* Code modification

* Code formating

* Handled test0007_c testcase

* Incorporated Codereview Comments

* Code re-factor

* commented the JLS22 value

* Merged with BETA_JAVA22

* Code Formatting

* Code formatting

* Enable JLS 22

* Removing unwanted spaces
subyssurendran666 and others added 4 commits March 11, 2024 19:50
* Add ASTRewrite unit test

* Add additional unit test.

* Added More unit tests
# Conflicts:
#	Jenkinsfile
#	org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/TestAll.java

Change-Id: I128c9bb3760c4559b7cb7613c4aefe65bcc52b0e
@jarthana
Copy link
Member Author

jarthana commented Mar 20, 2024

There is a clash of two changes in master and BETA branches. I have no clue what the failing test in ASTConverterSuperAfterStatements.test004() supposed to test. I will let @mpalat and @srikanth-sankaran figure this post merge.

@jarthana jarthana merged commit b2705b0 into eclipse-jdt:master Mar 20, 2024
5 of 9 checks passed
mpalat added a commit to mpalat/eclipse.jdt.core that referenced this pull request Mar 26, 2024
mpalat added a commit to mpalat/eclipse.jdt.core that referenced this pull request Mar 26, 2024
mpalat added a commit that referenced this pull request Mar 27, 2024
* fixes #2181

* Fixing the tests
robstryker pushed a commit to robstryker/eclipse.jdt.core that referenced this pull request Jul 18, 2024
robstryker pushed a commit to robstryker/eclipse.jdt.core that referenced this pull request Jul 18, 2024
gayanper pushed a commit to gayanper/eclipse.jdt.core that referenced this pull request Sep 7, 2024
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

Successfully merging this pull request may close these issues.

[22] Merge BETA_JAVA22 to master
5 participants