[crac] RFR: Provide arguments for restore [v3]
    Anton Kozlov 
    akozlov at openjdk.java.net
       
    Sat Mar  5 09:19:16 UTC 2022
    
    
  
On Thu, 3 Mar 2022 15:47:14 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
>> Anton Kozlov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Rename to newArguments, add javax.crac mirror
>
> 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.
-------------
PR: https://git.openjdk.java.net/crac/pull/16
    
    
More information about the crac-dev
mailing list