@Override
    @FFDCIgnore(ClassNotFoundException.class)
    protected Class<?> resolveClass(ObjectStreamClass klass) throws ClassNotFoundException {
        String name = klass.getName();
        try {
            return resolveClass(name);
        } catch (ClassNotFoundException e) {
            if (name.indexOf('.') == -1) {
                // Manually-implemented Java 7 string switch.
                switch (name.hashCode()) {
                    case 0x3db6c28:
                        if (name.equals("boolean")) {
                            return boolean.class;
                        }
                        break;
                    case 0x2e6108:
                        if (name.equals("byte")) {
                            return byte.class;
                        }
                        break;
                    case 0x685847c:
                        if (name.equals("short")) {
                            return short.class;
                        }
                        break;
                    case 0x2e9356:
                        if (name.equals("char")) {
                            return char.class;
                        }
                        break;
                    case 0x197ef:
                        if (name.equals("int")) {
                            return int.class;
                        }
                        break;
                    case 0x5d0225c:
                        if (name.equals("float")) {
                            return float.class;
                        }
                        break;
                    case 0x32c67c:
                        if (name.equals("long")) {
                            return long.class;
                        }
                        break;
                    case 0xb0f77bd1:
                        if (name.equals("double")) {
                            return double.class;
                        }
                        break;
                }
            }

            throw e;
        }
    }
@ Override @ FFDCIgnore ( ClassNotFoundException . class ) protected Class < ? > resolveClass ( ObjectStreamClass klass ) throws ClassNotFoundException { String name = klass . getName ( ) ; try { return resolveClass ( name ) ; } catch ( ClassNotFoundException e ) { if ( name . indexOf ( '.' ) == - 1 ) { switch ( name . hashCode ( ) ) { case 0x3db6c28 : if ( name . equals ( "boolean" ) ) { return boolean . class ; } break ; case 0x2e6108 : if ( name . equals ( "byte" ) ) { return byte . class ; } break ; case 0x685847c : if ( name . equals ( "short" ) ) { return short . class ; } break ; case 0x2e9356 : if ( name . equals ( "char" ) ) { return char . class ; } break ; case 0x197ef : if ( name . equals ( "int" ) ) { return int . class ; } break ; case 0x5d0225c : if ( name . equals ( "float" ) ) { return float . class ; } break ; case 0x32c67c : if ( name . equals ( "long" ) ) { return long . class ; } break ; case 0xb0f77bd1 : if ( name . equals ( "double" ) ) { return double . class ; } break ; } } throw e ; } }
Delegates class loading to to {@link #resolveClass(String)} rather than
using {@code Class.forName}.

<p>{@inheritDoc}