Hi Alexander, I would use a static variable and check it once only.
--Semyon On 12.07.2016 16:56, Alexander Zvegintsev wrote:
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8153512/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8153512