Describe the bug
Trying to create a large Image results in
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.eclipse.swt.graphics.ImageData.blit(ImageData.java:1971)
at org.eclipse.swt.graphics.Image.init(Image.java:1294)
at org.eclipse.swt.graphics.Image.<init>(Image.java:418)
The passed in imagedata for my system where this happens is 40000x2048
It seems it works for roughly 30000x2048 before it fails.
Environment:
Select the platform(s) on which the behavior is seen:
[ ] All OS
[ ] Windows
[x] Linux
[ ] macOS
Additional OS info (e.g. OS version, Linux Desktop, etc)
JRE/JDK version
Version since
Eclipse or SWT version since when the behavior is seen [e.g. 4.23]
Workaround (or) Additional context
Add any other context about the problem here.
Any known workarounds for the problem?
Describe the bug Trying to create a large Image results in
The passed in imagedata for my system where this happens is 40000x2048
It seems it works for roughly 30000x2048 before it fails.
Environment:
Select the platform(s) on which the behavior is seen:
Additional OS info (e.g. OS version, Linux Desktop, etc)
JRE/JDK version
Version since Eclipse or SWT version since when the behavior is seen [e.g. 4.23]
Workaround (or) Additional context Add any other context about the problem here. Any known workarounds for the problem?