fun foo(thread: Thread) { thread.get } // EXIST_JAVA_ONLY: getPriority