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

Beta java23 #2648

Merged
merged 13 commits into from
Jul 1, 2024
Merged

Beta java23 #2648

merged 13 commits into from
Jul 1, 2024

Conversation

mpalat
Copy link
Contributor

@mpalat mpalat commented Jul 1, 2024

What it does

How to test

Author checklist

jukzi and others added 13 commits June 20, 2024 16:18
* Use new IFile.write() to create or replace files
* use common FileSystemUtil.saveToDisk(IFile, byte[])
* version bump
* Add support for inline tags within an inlined return

- modify AbstractCommentParser to keep track when we are in an
  inlined return statement and to add inline tags as fragments
- add addFragmentToInlineReturn() method
- add new test to JavadocTest_16
- fixes eclipse-jdt#1026
generic type to its super type

strict analysis: test if removing the cast would change overload
resolution.

fixes eclipse-jdt#2470
Accept class files with mismatching parameter count vis-a-vis parameter annotations (which is legal since Java 9).

Also introduces system property jdt.reject.parameterAnnotations.countMismatch to get back the previous error reporting.

fixes eclipse-jdt#2625
…nce compiles even when the switch expression does not cover all possible input values (eclipse-jdt#2621)

* Fixes eclipse-jdt#2503
- `List<String> getAllJavaSourceVersionsSupportedByCompiler()` - all
Java versions that could be used for Java projects inside Eclipse. The
difference to existing `getAllVersions()` API is that later one knows
almost all Java versions ever released and might be used not only in JDT
core but also in debugger/PDE area.
- `boolean isJavaSourceVersionSupportedByCompiler(String version)` -
differs from existing `isSupportedJavaVersion()` in the same way as
explained above
- `String getFirstJavaSourceVersionSupportedByCompiler()` - similar to
existing `latestSupportedJavaVersion()` and should return minimal
"default" version supported by JDT.

API above will be used in JDT UI, Debug (PR's are following), and (most
likely) PDE.

**Internal** API added in batch compiler `CompilerOptions`:
- `getFirstSupportedJavaVersion()`
- `getFirstSupportedJdkLevel()`

See eclipse-jdt#2536
@mpalat mpalat merged commit 1b14b69 into eclipse-jdt:BETA_JAVA23 Jul 1, 2024
2 of 6 checks passed
@stephan-herrmann
Copy link
Contributor

@mpalat Do you mind using a PR title, that tells us, what's going on? For a fraction of a second I thought: wow, Manoj has completed the beta Java 23 implementation ;-P
To be considered next time, since this PR has sailed.

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.

7 participants