<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-unicode">Hi all,
<br>
<br>
please review the fix:
<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~mcherkas/8041460/webrev.02/">http://cr.openjdk.java.net/~mcherkas/8041460/webrev.02/</a><br>
for the following bug:
<br>
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8041460">https://bugs.openjdk.java.net/browse/JDK-8041460</a><a
class="moz-txt-link-freetext"
href="http://cr.openjdk.java.net/%7Emcherkas/8032961/jdk9/webrev.00/"></a><br>
<br>
The problem is that during merging of metadata trees we take index
of IHDR_bitDepths<br>
and set this value to IHDR_bitDepth, but IHDR_bitDepth requires a
real number of bits.<br>
IHDR_bitDepths - store all valid values: "1", "2", "4", "8", "16",
so to get <br>
valid value we need: 1 << index.<br>
<br>
Thanks,
<br>
Mikhail.
<br>
<br>
</div>
</body>
</html>