RFR: JDK-8066619: String(byte[],int,int,int) in String has been deprecated in Manifest and Attributes

Philipp Kunz philipp.kunz at paratix.ch
Tue Dec 18 07:15:02 UTC 2018


Thanks. Find a new patch attached.
On Mon, 2018-12-17 at 12:12 -0500, Roger Riggs wrote:
>     Hi Philipp,
> 
>     
> 
>     Manifest.java:
> 
>     
> 
>      - Line 258: creating a new array for two characters on each call
>     isn't as efficient as:
> 
>         out.write('\r'); 
> 
>         out.write('\n').
> 
>     
> 
>     The new test that need internal access can gain that access by
>     adding:
> 
>        @modules java.base/java.util.jar:+open
> 
>     
> 
>     That instructs testng to add the correct command line switches.
> 
>     Then you can remove --illegal-access=warn and the tests will
> work.
> 
>     
> 
>        
> 
>     In the test ValueUtf8Coding, just a mention of a method to create
> a
>     string with repeats.
> 
>          "-".repeat(80);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8066619.patch
Type: text/x-patch
Size: 30775 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20181218/8d3fe985/8066619-0001.patch>


More information about the core-libs-dev mailing list