1.1 --- a/src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java Thu Nov 17 10:51:17 2011 -0800 1.2 +++ b/src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java Wed Mar 28 02:50:50 2012 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2002, 2012, 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 @@ -106,7 +106,9 @@ 1.11 1.12 public ParserData[] getParserData() 1.13 { 1.14 - return parserData ; 1.15 + ParserData[] parserArray = new ParserData[parserData.length]; 1.16 + System.arraycopy(parserData, 0, parserArray, 0, parserData.length); 1.17 + return parserArray; 1.18 } 1.19 1.20 private ParserTable() {