JDK-8207266 added a new method named getCurrentThreadAllocatedBytes to the com.sun.management.ThreadMXBean interface, but did not provide a default implementation. Many tests implement this interface and thus fail to compile.