< prev index next >
test/java/util/concurrent/tck/AtomicLongFieldUpdaterTest.java
Print this page
*** 140,160 ****
}
/**
* construction using private field from subclass throws RuntimeException
*/
! public void testPrivateFieldInSubclass() {
AtomicLongFieldUpdaterTestSubclass s =
new AtomicLongFieldUpdaterTestSubclass();
s.checkPrivateAccess();
}
/**
* construction from unrelated class; package access is allowed,
* private access is not
*/
! public void testUnrelatedClassAccess() {
new UnrelatedClass().checkPackageAccess(this);
new UnrelatedClass().checkPrivateAccess(this);
}
/**
--- 140,160 ----
}
/**
* construction using private field from subclass throws RuntimeException
*/
! public void exclude_8187607_testPrivateFieldInSubclass() {
AtomicLongFieldUpdaterTestSubclass s =
new AtomicLongFieldUpdaterTestSubclass();
s.checkPrivateAccess();
}
/**
* construction from unrelated class; package access is allowed,
* private access is not
*/
! public void exclude_8187607_testUnrelatedClassAccess() {
new UnrelatedClass().checkPackageAccess(this);
new UnrelatedClass().checkPrivateAccess(this);
}
/**
< prev index next >