Could I get the following webrev reviewed please?
http://cr.openjdk.java.net/~michaelm/8199849/webrev.1/
A CSR for the small API change will follow.
Thanks,
Michael
Hi Michael,
BasicAuthentication.java:
An alternative to:
byte[] passwdBytes = (new String(passwd)).getBytes(cs);
would be:
ByteBuffer bb = cs.newEncoder()
.encode(CharBuffer.wrap(passwd));
then use ByteBuffer::get to copy the bytes into `concat`
Or better you could construct a Cha
Hi Daniel,
On 12/12/2018, 11:46, Daniel Fuchs wrote:
Hi Michael,
BasicAuthentication.java:
An alternative to:
byte[] passwdBytes = (new String(passwd)).getBytes(cs);
would be:
ByteBuffer bb = cs.newEncoder()
.encode(CharBuffer.wrap(passwd));
then use ByteBuffer::get to copy the b
Hello,
Please review the following change:
http://cr.openjdk.java.net/~prappo/8215292/webrev.00
That change backs out the fix for "Bind to node- or linklocal ipv6 multicast
address fails" [1]. The change in question is produced as:
hg diff -c 23b3a46fa159 --reverse --git
After I have appl
The backout looks correct, and I agree with the approach.
-Chris.
On 12/12/2018 16:09, Pavel Rappo wrote:
Hello,
Please review the following change:
http://cr.openjdk.java.net/~prappo/8215292/webrev.00
That change backs out the fix for "Bind to node- or linklocal ipv6 multicast
address fai
On 12/12/2018 16:15, Chris Hegarty wrote:
The backout looks correct, and I agree with the approach.
-Chris.
On 12/12/2018 16:09, Pavel Rappo wrote:
Hello,
Please review the following change:
http://cr.openjdk.java.net/~prappo/8215292/webrev.00
That change backs out the fix for "Bind to
Hi,
please review this patch to use String.isEmpty when applicable:
Webrev: http://cr.openjdk.java.net/~redestad/8215281/jdk.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8215281
Why?
- It reads better :-)
- Better startup/warmup due fewer method invocations
- Better peak performance: Strin
Hi Claes,
It might read even better if things like:
+resultString = !specarg.isEmpty() ? specarg.intern(): opt;
were changed into:
+resultString = specarg.isEmpty() ? opt : specarg.intern();
best regards,
-- daniel
On 12/12/2018 16:53, Claes Redestad wrote:
Hi,
please revi
On 12/12/2018 16:53, Claes Redestad wrote:
Hi,
please review this patch to use String.isEmpty when applicable:
Webrev: http://cr.openjdk.java.net/~redestad/8215281/jdk.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8215281
Why?
- It reads better :-)
- Better startup/warmup due fewer method
On 2018-12-12 17:56, Alan Bateman wrote:
In Checks.java, the parameter change from CharSequence to String means
that "cs" needs to be renamed.
Changed to 'str'
/Claes
On 2018-12-12 17:54, Daniel Fuchs wrote:
Hi Claes,
It might read even better if things like:
+ resultString = !specarg.isEmpty() ? specarg.intern(): opt;
were changed into:
+ resultString = specarg.isEmpty() ? opt : specarg.intern();
best regards,
I only found this pattern
11 matches
Mail list logo