Bug 4297 - 7.6.3 why StepContext implements Externalizable?
7.6.3 why StepContext implements Externalizable?
Status: CLOSED FIXED
Product: jbatch
Classification: Unclassified
Component: source
1
PC Linux
: P5 normal
: ---
Assigned To: cvignola
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-12 15:00 UTC by geofjamg
Modified: 2013-01-16 15:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description geofjamg 2012-11-12 15:00:49 UTC
and it is not the case for the other contexts (JobContext, FlowContext, SplitContext).
Isn’t it parameter P that should implements Externalizable?

In this case instead of:
public interface StepContext <T,P> extends BatchContext <T>, Externalizable {
...
}

it should be:
public interface StepContext <T,P extends Externalizable> extends BatchContext <T> {
...
}
Comment 1 cvignola 2012-11-17 20:33:02 UTC
Yeah ...  don't know what happened there.  It's P that's externalizable.  I updated the spec.  Thanks