# HG changeset patch # User coffeys # Date 1319473312 -3600 # Node ID 2282bde7a7d229741fc43625b8267791fc2603e8 # Parent f539f2bef857ffab3eb15be391664c62976d3bb0 7079904: corba issue Reviewed-by: dmeetry diff -r f539f2bef857 -r 2282bde7a7d2 src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyFactoryImpl.java --- a/src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyFactoryImpl.java Mon Sep 26 12:06:54 2011 -0700 +++ b/src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyFactoryImpl.java Mon Oct 24 17:21:52 2011 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -82,6 +82,6 @@ private String[] __ids = { "IDL:omg.org/DynamicAny/DynAnyFactory:1.0" }; public String[] _ids() { - return __ids; + return (String[])__ids.clone(); } } diff -r f539f2bef857 -r 2282bde7a7d2 src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyImpl.java --- a/src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyImpl.java Mon Sep 26 12:06:54 2011 -0700 +++ b/src/share/classes/com/sun/corba/se/impl/dynamicany/DynAnyImpl.java Mon Oct 24 17:21:52 2011 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -195,6 +195,6 @@ private String[] __ids = { "IDL:omg.org/DynamicAny/DynAny:1.0" }; public String[] _ids() { - return __ids; + return (String[])__ids.clone(); } } diff -r f539f2bef857 -r 2282bde7a7d2 src/share/classes/com/sun/org/omg/SendingContext/_CodeBaseImplBase.java --- a/src/share/classes/com/sun/org/omg/SendingContext/_CodeBaseImplBase.java Mon Sep 26 12:06:54 2011 -0700 +++ b/src/share/classes/com/sun/org/omg/SendingContext/_CodeBaseImplBase.java Mon Oct 24 17:21:52 2011 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -138,7 +138,7 @@ public String[] _ids () { - return __ids; + return (String[])__ids.clone(); }