-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
b114
-
Verified
Create access control tests for VarHandle lookup of fields.
Modifiers
--
1) non-static
2) static
3) final non-static?
4) final static?
Access
—
1) public x;
2) private x;
3) protected x
4) /* package */ x
Lookup
—
1) non-static
2) static
3) unreflect
Lookup from
—
1) within same class
2) from another class in same package
3) from another extending class in same package
4) from another class in different package
5) from another extending class in different package
Consider enhancing later across module boundaries with and without qualified exports.
Modifiers
--
1) non-static
2) static
3) final non-static?
4) final static?
Access
—
1) public x;
2) private x;
3) protected x
4) /* package */ x
Lookup
—
1) non-static
2) static
3) unreflect
Lookup from
—
1) within same class
2) from another class in same package
3) from another extending class in same package
4) from another class in different package
5) from another extending class in different package
Consider enhancing later across module boundaries with and without qualified exports.
- blocks
-
JDK-8153963 Lookup access control test to cover module boundaries
-
- Open
-