-
Bug
-
Resolution: Fixed
-
P4
-
9, 10
-
b23
-
generic
-
generic
The method setRGB(int x, int y, int rgb) in BufferedImage is synchronized, but all other methods in this class are not. For example the similar method setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) and get methods getRGB(int x, int y) and getRGB(int, int, int, int, int[], int, int).
Since the BufferedImage class is not thread safe it is unclear why the only this method is marked as synchronized,
Since the BufferedImage class is not thread safe it is unclear why the only this method is marked as synchronized,
- csr for
-
JDK-8183980 Synchronization in BufferedImage.setRGB(int x, int y, int rgb) is not necessary
-
- Closed
-