src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java

changeset 475
39d15bbb5741
parent 158
91006f157c46
child 748
6845b95cba6b
     1.1 --- a/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java	Thu Apr 11 09:39:48 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java	Mon Apr 08 23:12:03 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2000, 2013, 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 @@ -60,9 +60,10 @@
    1.11  import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
    1.12  import com.sun.corba.se.impl.orbutil.ORBUtility;
    1.13  import com.sun.corba.se.impl.orbutil.ORBConstants;
    1.14 -import com.sun.corba.se.impl.orbutil.ORBClassLoader;
    1.15  import com.sun.corba.se.impl.protocol.AddressingDispositionException;
    1.16  
    1.17 +import sun.corba.SharedSecrets;
    1.18 +
    1.19  /**
    1.20   * This class acts as the base class for the various GIOP message types. This
    1.21   * also serves as a factory to create various message types. We currently
    1.22 @@ -909,7 +910,8 @@
    1.23          SystemException sysEx = null;
    1.24  
    1.25          try {
    1.26 -            Class clazz = ORBClassLoader.loadClass(exClassName);
    1.27 +            Class<?> clazz =
    1.28 +                SharedSecrets.getJavaCorbaAccess().loadClass(exClassName);
    1.29              if (message == null) {
    1.30                  sysEx = (SystemException) clazz.newInstance();
    1.31              } else {

mercurial