-
Bug
-
Resolution: Unresolved
-
P5
-
17, 21, 22, 23
-
None
There is suspicious duplicate assignment in the com.sun.imageio.plugins.jpeg.JPEGMetadata#mergeStandardDimensionNode method, which is highlighted by IntelliJ IDEA:
jfif.Xdensity = p.x;
jfif.Xdensity = p.y;
https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGMetadata.java#L1928
Should it be jfif.Ydensity?
jfif.Xdensity = p.x;
jfif.Xdensity = p.y;
https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGMetadata.java#L1928
Should it be jfif.Ydensity?