void () { doTest("import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;" + "import one.ProtectedOther;" + "class X {" + " private static final AtomicReferenceFieldUpdater updater = " + " AtomicReferenceFieldUpdater.newUpdater(ProtectedOther.class, String.class, /*'protected' field 's' is not accessible from here*/\"s\"/**/);" + "}"); }