Skip to content

StackOverflowError in ExistingImageHandleProviderWrapper #481

@HeikoKlare

Description

@HeikoKlare

My SDK (I20251013-1800) reported stack overflow errors when creating images with the stack posted below. I am not sure how to reproduce it, but taking a look at the code the implementation looks suspicious as those methods call each other and I am not sure how that should ever terminate.

java.lang.StackOverflowError
	at org.eclipse.swt.graphics.Image.getImageData(Image.java:1288)
	at org.eclipse.swt.graphics.Image$ExistingImageHandleProviderWrapper.newImageData(Image.java:2048)
	at org.eclipse.swt.graphics.Image.getImageData(Image.java:1288)
	at org.eclipse.swt.graphics.Image$ExistingImageHandleProviderWrapper.newImageData(Image.java:2048)
	at org.eclipse.swt.graphics.Image.getImageData(Image.java:1288)
	at org.eclipse.swt.graphics.Image$ExistingImageHandleProviderWrapper.newImageData(Image.java:2048)

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions