Daniel,
This is an improved version of what you reviewed earlier. jdeps
--list-reduced-deps will show java.base only when it’s the only module it
depends on.
http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8169606/webrev.00
thanks
Mandy
While this could be made as a static method, there are cases that an instance
method would be preferred and same compatibility would arise. For example,
ClassLoader::getName is non-final instance method as it stands and I’d be
reluctant to make it a static method taking a ClassLoader instance.
> On Nov 11, 2016, at 4:21 AM, Daniel Fuchs wrote:
>
> Hi Mandy,
>
> This looks good to me.
Thanks.
> However, if I'm not mistaken, jdeps will now no longer
> list java.base as a dependency, unless the dependency
> is on a jdk internal API.
>
That is only when
Hi Bhanu, Nadeesh,
As to which locale to use, I suggest using US English (Locale.US), since
that is the one in java.base module. Using Locale.UK could cause
unexpected fallback to Locale.US if jdk.localedata module is not available.
Naoto
On 11/11/16 12:39 AM, nadeesh tv wrote:
Hi Bhanu,
Hi David,
you can not override a static method :)
but there is still a corner case, you can have a conflict when you have a
method reference over an instance method and you introduce a static method that
have the same functional signature.
Given that i prefer to have a compile time error than a
+1
Karen
> On Nov 10, 2016, at 5:56 PM, David Holmes wrote:
>
>
>
> On 11/11/2016 8:46 AM, Mandy Chung wrote:
>>
>>> On Nov 10, 2016, at 2:28 PM, Peter Levart wrote:
>>>
>>> On 11/10/2016 05:59 PM, Alan Bateman wrote:
On
Hi Zoltan,
On 11/11/2016 10:25 AM, Zoltán Majó wrote:
Hi,
please review the fix for 8169000:
https://bugs.openjdk.java.net/browse/JDK-8169000
http://cr.openjdk.java.net/~zmajo/8169000/webrev.00/
The bug was filed because different behavior of interpreted and
compiled code in HotSpot was
On 11/11/2016 05:07 AM, Alan Bateman wrote:
On 11/11/2016 10:46, Vladimir Ivanov wrote:
Alan,
I've looked through the current thread and also review thread [1] for
original change (8165793), but haven't found any discussion why making
it static (instead of instance final) is undesirable.
Hi Mandy,
This looks good to me.
However, if I'm not mistaken, jdeps will now no longer
list java.base as a dependency, unless the dependency
is on a jdk internal API.
This might be worthy of some mention in release notes - if
any tools are relying on jdeps output.
best regards,
-- daniel
On
On 11/11/2016 10:46, Vladimir Ivanov wrote:
Alan,
I've looked through the current thread and also review thread [1] for
original change (8165793), but haven't found any discussion why making
it static (instead of instance final) is undesirable.
Can you shed some light on it? Is it mainly
Alan,
I've looked through the current thread and also review thread [1] for
original change (8165793), but haven't found any discussion why making
it static (instead of instance final) is undesirable.
Can you shed some light on it? Is it mainly usability concern
(loader.isParallelCapable()
On 10/11/2016 22:46, Mandy Chung wrote:
:
Since there is already a @CallerSensitive protected static method called
"registerAsParallelCapable" for subclasses to call from their blocks,
the query could be called:
isRegisteredAsParallelCapable() ?
I doubt this name is already taken by any
Hi,
please review the fix for 8169000:
https://bugs.openjdk.java.net/browse/JDK-8169000
http://cr.openjdk.java.net/~zmajo/8169000/webrev.00/
The bug was filed because different behavior of interpreted and compiled
code in HotSpot was observed (different behavior with respect to phantom
Hi Bhanu,
I think adding Locale to the formatter will be better
For eg:
DateTimeFormatter f =
builder.parseLenient().appendValue(HOUR_OF_DAY).appendValue(MINUTE_OF_HOUR,
2).appendLiteral('9').toFormatter(Locale.UK);
Since other test cases use Locale.UK may be here also you can use UK
14 matches
Mail list logo