Skip to content

Merge master into BETA_JAVA27 branch - #3094

Merged
noopur2507 merged 16 commits into
BETA_JAVA27from
master
Jul 30, 2026
Merged

Merge master into BETA_JAVA27 branch#3094
noopur2507 merged 16 commits into
BETA_JAVA27from
master

Conversation

@noopur2507

@noopur2507 noopur2507 commented Jul 27, 2026

Copy link
Copy Markdown
Member

Fixes #3093.

What it does

How to test

Author checklist

merks and others added 16 commits July 8, 2026 09:39
The Typing preference page threw an NPE when opened with no active Java
editor, since a null compilation unit was dereferenced without a check;
this adds the missing null guard, consistent with the existing null-safe
handling right below it.

Fix: #3068
Tracings of recent SaveParticipantTest fail show the quick diff initialize job,
accessing GapTextStore in parallel to the tests. This change joins this
initialize job, prior to editing CUs from the tests - to avoid potential race conditions.

See: #79
* Fix add missing method declaration when target is another CU

- modify AddMissingMethodDeclarationFixCore to properly find the
  type of the ExpressionMethodReference instead of looking for
  an ancestor of the node
- verify that the method binding doesn't already exist
- use the target compilation unit rather than the compilation unit
  where the assist is started
- modify QuickAssistProcessor.getAddMethodDeclaration() to create
  a special FixCorrectionProposal which specifies the target CU
  rather than the one in the assist context
- add new test to AssistQuickFixTest1d8
- fixes #3061

* Fix modifier logic
- modify SourceAnalyzer.visit(ClassInstanceCreation) to only mark
  a member class as a receiver
- add new tests to InlineMethodTests
- fixes #3070
* Expose JUnit VM runner configuration to subclasses

Allow launch delegate subclasses to reuse the fully resolved VMRunnerConfiguration without reflection or duplicating the launch orchestration.

Copilot-Session: c3cd113b-dad4-4d4d-90c2-60abfd204405
Signed-off-by: wenytang-ms <wenyutang@microsoft.com>

* Bump JUnit unit test feature version

Update the containing feature after the org.eclipse.jdt.ui.unittest.junit bundle minor version increase.

Copilot-Session: c3cd113b-dad4-4d4d-90c2-60abfd204405
Signed-off-by: wenytang-ms <wenyutang@microsoft.com>

---------

Signed-off-by: wenytang-ms <wenyutang@microsoft.com>
…son (#3082)

- add new MoveInstanceMethodProcessor.checkTargetNullCheck() to check
  if the method being moved compares the field to use against null
  which will be replaced by a comparison of "this" to null
- add new test to MoveInstanceMethodTests
- fixes #3035
…#3063)

This commit includes adding the missing Markdown code template for overrides
and fixes unwanted "///" generating on types with empty params
…3084)

- modify JavadocHover.internalGetHoverInfo() to check when there
  is a single JavaElement that is a record constructor that has no
  Javadoc and in that case get hover info for the parent record type
- add new tests to JavadocHoverTests
- fixes #2832
* Fix inline method to handle local classes referencing receivers

- modify SourceAnalyzer.UpdateCollector to recognize when method
  invocations, constructor instantiations, and field references
  are within a local class but are referring to methods, constructors,
  and fields in the receiver class instead of the local one
- add new test to InlineMethodTests
- fixes #3069

* Fix test failures
@noopur2507 noopur2507 self-assigned this Jul 27, 2026
@noopur2507 noopur2507 added this to the BETA_JAVA27 milestone Jul 27, 2026
@noopur2507

Copy link
Copy Markdown
Member Author

The ECA check is failing for #3079.

@noopur2507

Copy link
Copy Markdown
Member Author

See #3079 (comment) for the ECA check.

@noopur2507
noopur2507 merged commit 36d203a into BETA_JAVA27 Jul 30, 2026
43 of 44 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.

10 participants