Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/8u/8066986/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8066986
[2] fix for 8u40 was partially reverted by [1] backport. This issue appears due to mixed order of 8u40 backports: Original JDK9 order of fixes is [1] [2], but 8u40 has following order [2] [1].
Obviously JDK9 is not affected. I also verified that no other code damaged by this fix.
[1] https://bugs.openjdk.java.net/browse/JDK-8027148 SystemFlavorMap.getNativesForFlavor returns list of native formats in incorrect order [2] https://bugs.openjdk.java.net/browse/JDK-8051588 [headless] DataTransferer.getInstance throws ClassCastException in headless mode
-- Thanks, Alexander.
