Skip to content

Conversation

ShahzaibIbrahim
Copy link
Contributor

@ShahzaibIbrahim ShahzaibIbrahim commented Mar 27, 2025

Replacing it with imageGcDrawer constructor Image(device, imageGcDrawer, width, height). Later Image(device, width, height) is set to be deprecated.

Requires

Author checklist

Copy link
Contributor

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested by:

  • Activating the breadcrumb for Java
  • Renaming a method

I wasn't able to test the change in SignatureStylingColorPreferenceMenuItem though, I have no styling enhancements installed.
image

Nevertheless, the change in the code looks good.

LGTM, thank you! ✔️

Now we need the approval of a committer (@iloveeclipse / @jjohnstn ?)

@fedejeanne
Copy link
Contributor

I just rebased on master. The compilation error should go away.

@fedejeanne
Copy link
Contributor

I just rebased on master again.

@jjohnstn / @iloveeclipse would you kindly review and merge?

Copy link
Contributor

@jjohnstn jjohnstn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We have an issue with Jenkins at the moment so there will be a delay in merging.

@fedejeanne
Copy link
Contributor

@jjohnstn the check failure is because Tycho 4.0.13-SNAPSHOT is picked up from the EF infrastructure and therefore currently not available.

Error:  Plugin org.eclipse.tycho:tycho-versions-plugin:4.0.13-SNAPSHOT or one of its dependencies could not be resolved:
Error:   The following artifacts could not be resolved: org.eclipse.tycho:tycho-versions-plugin:pom:4.0.13-SNAPSHOT (absent): org.eclipse.tycho:tycho-versions-plugin:pom:4.0.13-SNAPSHOT failed to transfer from https://repo.eclipse.org/content/repositories/tycho-snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of tycho-snapshots has elapsed or updates are forced. Original error: Could not transfer artifact org.eclipse.tycho:tycho-versions-plugin:pom:4.0.13-SNAPSHOT from/to tycho-snapshots (https://repo.eclipse.org/content/repositories/tycho-snapshots/): status code: 403, reason phrase: Forbidden (403)

This workaround was added 1 day after the check failure and it lets the check use Tycho 4.0.12, which is picked up from maven central.

Long story short: can you please re-trigger the check and see if the 403 error goes away?

@fedejeanne
Copy link
Contributor

Long story short: can you please re-trigger the check and see if the 403 error goes away?

Oh, I have write permissions in vi-eclipse, I forgot. I rebased, which will trigger the checks.

@jjohnstn jjohnstn merged commit 469cdba into eclipse-jdt:master Apr 29, 2025
6 checks passed
@fedejeanne fedejeanne deleted the master-188 branch April 30, 2025 06:40
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.

Replace usages of new Image(device, width, height) / new GC(image)
3 participants