[crac] RFR: Provide arguments for restore [v3]
Alexey Bakhtin
abakhtin at openjdk.java.net
Tue Mar 15 16:41:19 UTC 2022
On Sat, 5 Mar 2022 09:16:57 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
>> src/java.base/share/classes/javax/crac/Core.java line 87:
>>
>>> 85:
>>> 86: /**
>>> 87: * Gets new arguments provided after restore.
>>
>> May be description could be extended. I think it's worth mentioning that the new arguments do not replace original arguments, it is application-level arguments and it's application's responsibility to parse and apply these additional arguments. An empty array is returned in case of no additional arguments are provided.
>
> I was trying to provide better docs without over-specifying current implementation and realized that the new functionality can be done without an API change. Please look at the latest state.
New approach looks great. Thank you
-------------
PR: https://git.openjdk.java.net/crac/pull/16
More information about the crac-dev
mailing list