RFR: 7027: Avoid NPE for callers of TransformRegistry#getTransformData [v2]

Gunnar Morling github.com+28612+gunnarmorling at openjdk.java.net
Wed Dec 2 22:18:04 UTC 2020


On Tue, 1 Dec 2020 09:21:51 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>> Gunnar Morling has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>> 
>>   7027: avoiding NPE for callers of TransformRegistry#getTransformData() if no transform data exists
>
> Changes requested by hirt (Lead).

@thegreystone, addressed your comments, reworded commit message to reflect the right issue key and rebased to current master.

> agent/src/main/java/org/openjdk/jmc/agent/TransformRegistry.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
> 
> Update copyright year - 2018, 2020.

Done.

> agent/src/test/java/org/openjdk/jmc/agent/test/TestDefaultTransformRegistry.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
> 
> Update copyright year - 2018, 2020.

Done.

-------------

PR: https://git.openjdk.java.net/jmc/pull/169


More information about the jmc-dev mailing list