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

Merge master into BETA_JAVA24 #3177

Merged
merged 64 commits into from
Oct 28, 2024
Merged

Conversation

jarthana
Copy link
Member

@jarthana jarthana commented Oct 28, 2024

What it does

How to test

Author checklist

dependabot bot and others added 30 commits October 8, 2024 12:09
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...604373d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@604373d...8448086)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
* Search support for the implicitly declared class

* Incorporated the code-review comments
Additionally add a styled and drag&drop-able Oomph Configuration button
to the main README.

Part of eclipse-platform/eclipse.platform.releng.aggregator#2430
… a dependency (eclipse-jdt#3072)

+ access annotation_v1 from a local copy (jar)
+ avoid PackageAdmin in favor of "official" API
   this is no possible since version selection is no longer necessary
+ can no longer use compliance to switch annotation jars since
  version 1.7- are no longer supported
+ revive capability to tests with declaration annotations via new
  class NullDeclarationAnnotationTest
  - pull up helpers from ResourceLeakAnnotatedTests which allow running
    inherited tests.
+ entirely remove jdt.annotation as dependency from apt.pluggable.tests

Fixes eclipse-jdt#3029
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@8448086...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
been configured

let ASTParser detect missing system library
+ look in classpaths and/or javaproject
+ first look for module java.base else for class java.lang.Object

fix test setups:
+ converterJclMin9 lacked some relevant classes
+ initialization of variable CONVERTER_JCL15_LIB was missing
+ correction of .classpath for some converter test projects:
  + don't use 1.8 lib for projects > 9
  + mark system libraries as modular

modified the new test:
+ copy the original test from DOM test to a new compiler test
  - here we expect missing type errors instead of NPE
+ update test expectation in DOM to the new exception
* Added ASTRewrite support(Unit test & Rewrite) and ASTConverter unit test

* Incorporated the code review changes
… when it contains inner class (eclipse-jdt#3002)

* Fix ASTRewrite issue in record & added test coverage support for java23

* modified the version change

* Incorporated the code review changes

* Modifications done inside the bodyDeclaration and the issue has fixed.

* added more unit tests

* Since the issue is related to ASTConversion, added ASTConverter test
… + an exhautive pattern matching on a sealed type throws a MatchException(eclipse-jdt#3098)

* Fixes eclipse-jdt#3096
Ensure that o.e.jdt.annotations 1.x is not picked by accident when there
is unversioned require (like
eclipse-jdt/eclipse.jdt#118 ) as it will no
longer be in the reactor.
srikanth-sankaran and others added 29 commits October 21, 2024 15:30
eclipse-jdt#3141)

* Get rid of stale @noreference tags
* Fix javadoc
* Fix indentation problems
* Align method names with JLS terminology
* Reuse standard code patterns
* Prevent further checks on a `iterator.remove()`d element
* Get rid of type annotation handling code where no type annotations are legal
For allocation expressions:
 + only check enclosing types
 + but never travel out past static / local types

Fixes eclipse-jdt#3132
…eclipse-jdt#3145)

* Get rid of dead code
* Adopt descriptive method names 
* Overhaul switch block exhaustiveness checking
* Fix defect that classifies switch expressions as enhanced switch statement
* Add missing restricted keyword in JavaFeature
* Eliminate unncessary feature level checks
* Correct wrong diagnostics expectations in test files
…eclipse-jdt#3069)

check all patterns via isApplicable()
+ enclosing instanceof and case stmt are responsible for its invocation
+ make isApplicable() more capable to issue the desired problems
+ let problem reporter see the error location to select problemID
+ more renaming for clarity
+ fix regression by more complete propagation of outerExpressionType

fix "left" and "right" types in error reporting

Test changes:
+ compatibility errors more consistently mark the entire instanceof expr
+ remove unwanted type qualifiers
+ don't expect some secondary errors
+ test case for eclipse-jdt#3074
…h pattern and widening unboxing conversion (eclipse-jdt#3158)

fix direction of conversion

extend existing test to loop over numerical types

Fixes eclipse-jdt#3113
…ogether when on method parameters (eclipse-jdt#3159)

recover incomplete annotation on argument, while making sure that:
+ no "real" fields are converted into arguments.
+ we can merge existing arguments with one recovered from a field

expect better recovery also in some existing tests

fixes eclipse-jdt#3155
…ue when there is a . at the end (eclipse-jdt#3161)

detect the situation during Parser.consumeZeroTypeAnnotations() (similar to eclipse-jdt#3155) and recover accordingly in RecoveredAnnotation.updateFromParserState()

fixes eclipse-jdt#3156
…clipse-jdt#3165)

Avoid allocating enclosing instance beyond a static method scope

Fixes eclipse-jdt#3153
+ find missing types in more kinds of types to avoid abort due to
  ProblemReporter.needImplementation()

Fixes eclipse-jdt#3064
…clipse-jdt#2874)

Fix deprecated check routines in ASTNode to also check since value
* Tweak logic to handle case where annotations aren't ready

fixes eclipse-jdt#2873
@jarthana jarthana merged commit 6407141 into eclipse-jdt:BETA_JAVA24 Oct 28, 2024
4 of 8 checks passed
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.