src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayERProperty.java

changeset 707
31893650acaf
parent 650
121e938cb9c3
     1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayERProperty.java	Mon Sep 29 11:50:34 2014 -0700
     1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/ArrayERProperty.java	Sun Aug 31 16:14:36 2014 +0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -98,7 +98,7 @@
    1.11              UnmarshallingContext context = state.getContext();
    1.12              context.startScope(1);
    1.13              // inherit the target so that our children can access its target
    1.14 -            state.target = state.prev.target;
    1.15 +            state.setTarget(state.getPrev().getTarget());
    1.16  
    1.17              // start it now, so that even if there's no children we can still return empty collection
    1.18              context.getScope(0).start(acc,lister);
    1.19 @@ -116,8 +116,8 @@
    1.20                  super.childElement(state,ea);
    1.21                  return;
    1.22              }
    1.23 -            state.loader = child.loader;
    1.24 -            state.receiver = child.receiver;
    1.25 +            state.setLoader(child.loader);
    1.26 +            state.setReceiver(child.receiver);
    1.27          }
    1.28  
    1.29          @Override

mercurial