1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Scope.java Mon Sep 29 11:50:34 2014 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Scope.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 @@ -97,7 +97,7 @@ 1.11 public void add( Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister, ItemT value) throws SAXException{ 1.12 try { 1.13 if(!hasStarted()) { 1.14 - this.bean = (BeanT)context.getCurrentState().target; 1.15 + this.bean = (BeanT)context.getCurrentState().getTarget(); 1.16 this.acc = acc; 1.17 this.lister = lister; 1.18 this.pack = lister.startPacking(bean,acc); 1.19 @@ -121,7 +121,7 @@ 1.20 public void start( Accessor<BeanT,PropT> acc, Lister<BeanT,PropT,ItemT,PackT> lister) throws SAXException{ 1.21 try { 1.22 if(!hasStarted()) { 1.23 - this.bean = (BeanT)context.getCurrentState().target; 1.24 + this.bean = (BeanT)context.getCurrentState().getTarget(); 1.25 this.acc = acc; 1.26 this.lister = lister; 1.27 this.pack = lister.startPacking(bean,acc);