RFR: 8235459: HttpRequest.BodyPublishers#ofFile(Path) assumes the default file system

Amy Lu amy.lu at oracle.com
Tue Mar 24 05:57:58 UTC 2020


On 3/24/20 1:51 AM, Julia Boes wrote:
> Updated webrev: 
> http://cr.openjdk.java.net/~jboes/webrevs/8235459/webrev.03/

Hi, Julia

Just a minor comment on the test usage of

/othervm/java.security.policy=FilePublisherPermsTest3.policy 
-Djava.security.manager

As jtreg tag-spec [1] suggested:
   The setting of the system properties "java.security.manager" and 
"java.security.policy" in main/othervm actions is also discouraged; the 
/policy and /secure options should be used instead.


Thanks,
Amy

[1] http://openjdk.java.net/jtreg/tag-spec.html


More information about the net-dev mailing list