hg: valhalla/valhalla: 8222634: [lworld] Javac sometimes emits incorrect ('Q') descriptors for fields.
Srikanth
srikanth.adayapalam at oracle.com
Wed Apr 17 13:09:49 UTC 2019
On 17/04/19 6:33 PM, Srikanth wrote:
> Here are the pending ones I see:
>
> (1) Compile time null assignment to values should be tolerated (?)
> (2) Compiler does not tolerate the following:
> MyValue1?[] vBoxArray = new MyValue1?[42];
On (1) can I get a quick confirmation that this is what we want ? I did
see some discussion regarding javac not proactively catching these and
letting the VM report an NPE. But I seem to have missed the rationale
behind that decision against failing early.
Thanks for any pointers.
Srikanth
>
> Thanks!
> Srikanth
>
>
> On 17/04/19 5:31 PM, srikanth.adayapalam at oracle.com wrote:
>> Changeset: 2e5ecb20aa24
>> Author: sadayapalam
>> Date: 2019-04-17 17:31 +0530
>> URL: http://hg.openjdk.java.net/valhalla/valhalla/rev/2e5ecb20aa24
>>
>> 8222634: [lworld] Javac sometimes emits incorrect ('Q') descriptors
>> for fields.
>>
>> ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
>> +
>> test/langtools/tools/javac/valhalla/lworld-values/CheckFieldDescriptors.java
>>
>
More information about the valhalla-dev
mailing list