Annotation Interface ReadsSystemProperty
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Inherited
@API(status=EXPERIMENTAL,
since="6.1")
public @interface ReadsSystemProperty
@ReadsSystemProperty marks tests that read system properties but do
not use the JVM system properties extensions themselves.
During
parallel test execution, all tests annotated with
@SetSystemProperty,
@ClearSystemProperty,
@ReadsSystemProperty, and
@WritesSystemProperty are scheduled in a way that
guarantees correctness under mutation of shared global state.
For further details and examples, see the documentation on all JVM system property annotations in the User Guide.
- Since:
- 6.1
- See Also: