1 /* 2 * Copyright (C) 2014 The Android Open Source Project 3 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * This code is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. Oracle designates this 9 * particular file as subject to the "Classpath" exception as provided 10 * by Oracle in the LICENSE file that accompanied this code. 11 * 12 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 * version 2 for more details (a copy is included in the LICENSE file that 16 * accompanied this code). 17 * 18 * You should have received a copy of the GNU General Public License version 19 * 2 along with this work; if not, write to the Free Software Foundation, 20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 21 * 22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 23 * or visit www.oracle.com if you need additional information or have any 24 * questions. 25 */ 26 27 package java.io; 28 29 import android.compat.annotation.UnsupportedAppUsage; 30 31 @SuppressWarnings({"unchecked", "deprecation", "all"}) 32 public class ObjectInputStream extends java.io.InputStream 33 implements java.io.ObjectInput, java.io.ObjectStreamConstants { 34 ObjectInputStream(java.io.InputStream in)35 public ObjectInputStream(java.io.InputStream in) throws java.io.IOException { 36 throw new RuntimeException("Stub!"); 37 } 38 ObjectInputStream()39 protected ObjectInputStream() throws java.io.IOException, java.lang.SecurityException { 40 throw new RuntimeException("Stub!"); 41 } 42 readObject()43 public final java.lang.Object readObject() 44 throws java.lang.ClassNotFoundException, java.io.IOException { 45 throw new RuntimeException("Stub!"); 46 } 47 readObjectOverride()48 protected java.lang.Object readObjectOverride() 49 throws java.lang.ClassNotFoundException, java.io.IOException { 50 throw new RuntimeException("Stub!"); 51 } 52 readUnshared()53 public java.lang.Object readUnshared() 54 throws java.lang.ClassNotFoundException, java.io.IOException { 55 throw new RuntimeException("Stub!"); 56 } 57 defaultReadObject()58 public void defaultReadObject() throws java.lang.ClassNotFoundException, java.io.IOException { 59 throw new RuntimeException("Stub!"); 60 } 61 readFields()62 public java.io.ObjectInputStream.GetField readFields() 63 throws java.lang.ClassNotFoundException, java.io.IOException { 64 throw new RuntimeException("Stub!"); 65 } 66 registerValidation(java.io.ObjectInputValidation obj, int prio)67 public void registerValidation(java.io.ObjectInputValidation obj, int prio) 68 throws java.io.InvalidObjectException, java.io.NotActiveException { 69 throw new RuntimeException("Stub!"); 70 } 71 resolveClass(java.io.ObjectStreamClass desc)72 protected java.lang.Class<?> resolveClass(java.io.ObjectStreamClass desc) 73 throws java.lang.ClassNotFoundException, java.io.IOException { 74 throw new RuntimeException("Stub!"); 75 } 76 resolveProxyClass(java.lang.String[] interfaces)77 protected java.lang.Class<?> resolveProxyClass(java.lang.String[] interfaces) 78 throws java.lang.ClassNotFoundException, java.io.IOException { 79 throw new RuntimeException("Stub!"); 80 } 81 resolveObject(java.lang.Object obj)82 protected java.lang.Object resolveObject(java.lang.Object obj) throws java.io.IOException { 83 throw new RuntimeException("Stub!"); 84 } 85 enableResolveObject(boolean enable)86 protected boolean enableResolveObject(boolean enable) throws java.lang.SecurityException { 87 throw new RuntimeException("Stub!"); 88 } 89 readStreamHeader()90 protected void readStreamHeader() throws java.io.IOException, java.io.StreamCorruptedException { 91 throw new RuntimeException("Stub!"); 92 } 93 readClassDescriptor()94 protected java.io.ObjectStreamClass readClassDescriptor() 95 throws java.lang.ClassNotFoundException, java.io.IOException { 96 throw new RuntimeException("Stub!"); 97 } 98 read()99 public int read() throws java.io.IOException { 100 throw new RuntimeException("Stub!"); 101 } 102 read(byte[] buf, int off, int len)103 public int read(byte[] buf, int off, int len) throws java.io.IOException { 104 throw new RuntimeException("Stub!"); 105 } 106 available()107 public int available() throws java.io.IOException { 108 throw new RuntimeException("Stub!"); 109 } 110 close()111 public void close() throws java.io.IOException { 112 throw new RuntimeException("Stub!"); 113 } 114 readBoolean()115 public boolean readBoolean() throws java.io.IOException { 116 throw new RuntimeException("Stub!"); 117 } 118 readByte()119 public byte readByte() throws java.io.IOException { 120 throw new RuntimeException("Stub!"); 121 } 122 readUnsignedByte()123 public int readUnsignedByte() throws java.io.IOException { 124 throw new RuntimeException("Stub!"); 125 } 126 readChar()127 public char readChar() throws java.io.IOException { 128 throw new RuntimeException("Stub!"); 129 } 130 readShort()131 public short readShort() throws java.io.IOException { 132 throw new RuntimeException("Stub!"); 133 } 134 readUnsignedShort()135 public int readUnsignedShort() throws java.io.IOException { 136 throw new RuntimeException("Stub!"); 137 } 138 readInt()139 public int readInt() throws java.io.IOException { 140 throw new RuntimeException("Stub!"); 141 } 142 readLong()143 public long readLong() throws java.io.IOException { 144 throw new RuntimeException("Stub!"); 145 } 146 readFloat()147 public float readFloat() throws java.io.IOException { 148 throw new RuntimeException("Stub!"); 149 } 150 readDouble()151 public double readDouble() throws java.io.IOException { 152 throw new RuntimeException("Stub!"); 153 } 154 readFully(byte[] buf)155 public void readFully(byte[] buf) throws java.io.IOException { 156 throw new RuntimeException("Stub!"); 157 } 158 readFully(byte[] buf, int off, int len)159 public void readFully(byte[] buf, int off, int len) throws java.io.IOException { 160 throw new RuntimeException("Stub!"); 161 } 162 skipBytes(int len)163 public int skipBytes(int len) throws java.io.IOException { 164 throw new RuntimeException("Stub!"); 165 } 166 167 @Deprecated readLine()168 public java.lang.String readLine() throws java.io.IOException { 169 throw new RuntimeException("Stub!"); 170 } 171 readUTF()172 public java.lang.String readUTF() throws java.io.IOException { 173 throw new RuntimeException("Stub!"); 174 } 175 verifySubclass()176 private void verifySubclass() { 177 throw new RuntimeException("Stub!"); 178 } 179 auditSubclass(java.lang.Class<?> subcl)180 private static boolean auditSubclass(java.lang.Class<?> subcl) { 181 throw new RuntimeException("Stub!"); 182 } 183 clear()184 private void clear() { 185 throw new RuntimeException("Stub!"); 186 } 187 readObject0(boolean unshared)188 private java.lang.Object readObject0(boolean unshared) throws java.io.IOException { 189 throw new RuntimeException("Stub!"); 190 } 191 checkResolve(java.lang.Object obj)192 private java.lang.Object checkResolve(java.lang.Object obj) throws java.io.IOException { 193 throw new RuntimeException("Stub!"); 194 } 195 readTypeString()196 java.lang.String readTypeString() throws java.io.IOException { 197 throw new RuntimeException("Stub!"); 198 } 199 readNull()200 private java.lang.Object readNull() throws java.io.IOException { 201 throw new RuntimeException("Stub!"); 202 } 203 readHandle(boolean unshared)204 private java.lang.Object readHandle(boolean unshared) throws java.io.IOException { 205 throw new RuntimeException("Stub!"); 206 } 207 readClass(boolean unshared)208 private java.lang.Class<?> readClass(boolean unshared) throws java.io.IOException { 209 throw new RuntimeException("Stub!"); 210 } 211 readClassDesc(boolean unshared)212 private java.io.ObjectStreamClass readClassDesc(boolean unshared) throws java.io.IOException { 213 throw new RuntimeException("Stub!"); 214 } 215 isCustomSubclass()216 private boolean isCustomSubclass() { 217 throw new RuntimeException("Stub!"); 218 } 219 readProxyDesc(boolean unshared)220 private java.io.ObjectStreamClass readProxyDesc(boolean unshared) throws java.io.IOException { 221 throw new RuntimeException("Stub!"); 222 } 223 readNonProxyDesc(boolean unshared)224 private java.io.ObjectStreamClass readNonProxyDesc(boolean unshared) 225 throws java.io.IOException { 226 throw new RuntimeException("Stub!"); 227 } 228 readString(boolean unshared)229 private java.lang.String readString(boolean unshared) throws java.io.IOException { 230 throw new RuntimeException("Stub!"); 231 } 232 readArray(boolean unshared)233 private java.lang.Object readArray(boolean unshared) throws java.io.IOException { 234 throw new RuntimeException("Stub!"); 235 } 236 readEnum(boolean unshared)237 private java.lang.Enum<?> readEnum(boolean unshared) throws java.io.IOException { 238 throw new RuntimeException("Stub!"); 239 } 240 readOrdinaryObject(boolean unshared)241 private java.lang.Object readOrdinaryObject(boolean unshared) throws java.io.IOException { 242 throw new RuntimeException("Stub!"); 243 } 244 readExternalData(java.io.Externalizable obj, java.io.ObjectStreamClass desc)245 private void readExternalData(java.io.Externalizable obj, java.io.ObjectStreamClass desc) 246 throws java.io.IOException { 247 throw new RuntimeException("Stub!"); 248 } 249 readSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc)250 private void readSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc) 251 throws java.io.IOException { 252 throw new RuntimeException("Stub!"); 253 } 254 skipCustomData()255 private void skipCustomData() throws java.io.IOException { 256 throw new RuntimeException("Stub!"); 257 } 258 defaultReadFields(java.lang.Object obj, java.io.ObjectStreamClass desc)259 private void defaultReadFields(java.lang.Object obj, java.io.ObjectStreamClass desc) 260 throws java.io.IOException { 261 throw new RuntimeException("Stub!"); 262 } 263 readFatalException()264 private java.io.IOException readFatalException() throws java.io.IOException { 265 throw new RuntimeException("Stub!"); 266 } 267 handleReset()268 private void handleReset() throws java.io.StreamCorruptedException { 269 throw new RuntimeException("Stub!"); 270 } 271 272 @UnsupportedAppUsage bytesToFloats( byte[] src, int srcpos, float[] dst, int dstpos, int nfloats)273 private static native void bytesToFloats( 274 byte[] src, int srcpos, float[] dst, int dstpos, int nfloats); 275 276 @UnsupportedAppUsage bytesToDoubles( byte[] src, int srcpos, double[] dst, int dstpos, int ndoubles)277 private static native void bytesToDoubles( 278 byte[] src, int srcpos, double[] dst, int dstpos, int ndoubles); 279 latestUserDefinedLoader()280 private static java.lang.ClassLoader latestUserDefinedLoader() { 281 throw new RuntimeException("Stub!"); 282 } 283 cloneArray(java.lang.Object array)284 private static java.lang.Object cloneArray(java.lang.Object array) { 285 throw new RuntimeException("Stub!"); 286 } 287 288 private static final int NULL_HANDLE = -1; // 0xffffffff 289 290 @UnsupportedAppUsage 291 private final java.io.ObjectInputStream.BlockDataInputStream bin; 292 293 { 294 bin = null; 295 } 296 297 private boolean closed; 298 299 private java.io.SerialCallbackContext curContext; 300 301 private boolean defaultDataEnd = false; 302 303 private int depth; 304 305 private final boolean enableOverride; 306 307 { 308 enableOverride = false; 309 } 310 311 private boolean enableResolve; 312 313 private final java.io.ObjectInputStream.HandleTable handles; 314 315 { 316 handles = null; 317 } 318 319 private int passHandle = -1; // 0xffffffff 320 321 private static final java.util.HashMap<java.lang.String, java.lang.Class<?>> primClasses; 322 323 static { 324 primClasses = null; 325 } 326 327 private byte[] primVals; 328 329 private static final java.lang.Object unsharedMarker; 330 331 static { 332 unsharedMarker = null; 333 } 334 335 private final java.io.ObjectInputStream.ValidationList vlist; 336 337 { 338 vlist = null; 339 } 340 341 @SuppressWarnings({"unchecked", "deprecation", "all"}) 342 private class BlockDataInputStream extends java.io.InputStream implements java.io.DataInput { 343 BlockDataInputStream(java.io.InputStream in)344 BlockDataInputStream(java.io.InputStream in) { 345 throw new RuntimeException("Stub!"); 346 } 347 setBlockDataMode(boolean newmode)348 boolean setBlockDataMode(boolean newmode) throws java.io.IOException { 349 throw new RuntimeException("Stub!"); 350 } 351 getBlockDataMode()352 boolean getBlockDataMode() { 353 throw new RuntimeException("Stub!"); 354 } 355 skipBlockData()356 void skipBlockData() throws java.io.IOException { 357 throw new RuntimeException("Stub!"); 358 } 359 readBlockHeader(boolean canBlock)360 private int readBlockHeader(boolean canBlock) throws java.io.IOException { 361 throw new RuntimeException("Stub!"); 362 } 363 refill()364 private void refill() throws java.io.IOException { 365 throw new RuntimeException("Stub!"); 366 } 367 currentBlockRemaining()368 int currentBlockRemaining() { 369 throw new RuntimeException("Stub!"); 370 } 371 peek()372 int peek() throws java.io.IOException { 373 throw new RuntimeException("Stub!"); 374 } 375 peekByte()376 byte peekByte() throws java.io.IOException { 377 throw new RuntimeException("Stub!"); 378 } 379 read()380 public int read() throws java.io.IOException { 381 throw new RuntimeException("Stub!"); 382 } 383 read(byte[] b, int off, int len)384 public int read(byte[] b, int off, int len) throws java.io.IOException { 385 throw new RuntimeException("Stub!"); 386 } 387 skip(long len)388 public long skip(long len) throws java.io.IOException { 389 throw new RuntimeException("Stub!"); 390 } 391 available()392 public int available() throws java.io.IOException { 393 throw new RuntimeException("Stub!"); 394 } 395 close()396 public void close() throws java.io.IOException { 397 throw new RuntimeException("Stub!"); 398 } 399 read(byte[] b, int off, int len, boolean copy)400 int read(byte[] b, int off, int len, boolean copy) throws java.io.IOException { 401 throw new RuntimeException("Stub!"); 402 } 403 readFully(byte[] b)404 public void readFully(byte[] b) throws java.io.IOException { 405 throw new RuntimeException("Stub!"); 406 } 407 readFully(byte[] b, int off, int len)408 public void readFully(byte[] b, int off, int len) throws java.io.IOException { 409 throw new RuntimeException("Stub!"); 410 } 411 readFully(byte[] b, int off, int len, boolean copy)412 public void readFully(byte[] b, int off, int len, boolean copy) throws java.io.IOException { 413 throw new RuntimeException("Stub!"); 414 } 415 skipBytes(int n)416 public int skipBytes(int n) throws java.io.IOException { 417 throw new RuntimeException("Stub!"); 418 } 419 readBoolean()420 public boolean readBoolean() throws java.io.IOException { 421 throw new RuntimeException("Stub!"); 422 } 423 readByte()424 public byte readByte() throws java.io.IOException { 425 throw new RuntimeException("Stub!"); 426 } 427 readUnsignedByte()428 public int readUnsignedByte() throws java.io.IOException { 429 throw new RuntimeException("Stub!"); 430 } 431 readChar()432 public char readChar() throws java.io.IOException { 433 throw new RuntimeException("Stub!"); 434 } 435 readShort()436 public short readShort() throws java.io.IOException { 437 throw new RuntimeException("Stub!"); 438 } 439 readUnsignedShort()440 public int readUnsignedShort() throws java.io.IOException { 441 throw new RuntimeException("Stub!"); 442 } 443 readInt()444 public int readInt() throws java.io.IOException { 445 throw new RuntimeException("Stub!"); 446 } 447 readFloat()448 public float readFloat() throws java.io.IOException { 449 throw new RuntimeException("Stub!"); 450 } 451 readLong()452 public long readLong() throws java.io.IOException { 453 throw new RuntimeException("Stub!"); 454 } 455 readDouble()456 public double readDouble() throws java.io.IOException { 457 throw new RuntimeException("Stub!"); 458 } 459 readUTF()460 public java.lang.String readUTF() throws java.io.IOException { 461 throw new RuntimeException("Stub!"); 462 } 463 readLine()464 public java.lang.String readLine() throws java.io.IOException { 465 throw new RuntimeException("Stub!"); 466 } 467 readBooleans(boolean[] v, int off, int len)468 void readBooleans(boolean[] v, int off, int len) throws java.io.IOException { 469 throw new RuntimeException("Stub!"); 470 } 471 readChars(char[] v, int off, int len)472 void readChars(char[] v, int off, int len) throws java.io.IOException { 473 throw new RuntimeException("Stub!"); 474 } 475 readShorts(short[] v, int off, int len)476 void readShorts(short[] v, int off, int len) throws java.io.IOException { 477 throw new RuntimeException("Stub!"); 478 } 479 readInts(int[] v, int off, int len)480 void readInts(int[] v, int off, int len) throws java.io.IOException { 481 throw new RuntimeException("Stub!"); 482 } 483 readFloats(float[] v, int off, int len)484 void readFloats(float[] v, int off, int len) throws java.io.IOException { 485 throw new RuntimeException("Stub!"); 486 } 487 readLongs(long[] v, int off, int len)488 void readLongs(long[] v, int off, int len) throws java.io.IOException { 489 throw new RuntimeException("Stub!"); 490 } 491 readDoubles(double[] v, int off, int len)492 void readDoubles(double[] v, int off, int len) throws java.io.IOException { 493 throw new RuntimeException("Stub!"); 494 } 495 readLongUTF()496 java.lang.String readLongUTF() throws java.io.IOException { 497 throw new RuntimeException("Stub!"); 498 } 499 readUTFBody(long utflen)500 private java.lang.String readUTFBody(long utflen) throws java.io.IOException { 501 throw new RuntimeException("Stub!"); 502 } 503 readUTFSpan(java.lang.StringBuilder sbuf, long utflen)504 private long readUTFSpan(java.lang.StringBuilder sbuf, long utflen) 505 throws java.io.IOException { 506 throw new RuntimeException("Stub!"); 507 } 508 readUTFChar(java.lang.StringBuilder sbuf, long utflen)509 private int readUTFChar(java.lang.StringBuilder sbuf, long utflen) 510 throws java.io.IOException { 511 throw new RuntimeException("Stub!"); 512 } 513 getBytesRead()514 long getBytesRead() { 515 throw new RuntimeException("Stub!"); 516 } 517 518 private static final int CHAR_BUF_SIZE = 256; // 0x100 519 520 private static final int HEADER_BLOCKED = -2; // 0xfffffffe 521 522 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 523 524 private static final int MAX_HEADER_SIZE = 5; // 0x5 525 526 private boolean blkmode = false; 527 528 private final byte[] buf; 529 530 { 531 buf = new byte[0]; 532 } 533 534 private final char[] cbuf; 535 536 { 537 cbuf = new char[0]; 538 } 539 540 private final java.io.DataInputStream din; 541 542 { 543 din = null; 544 } 545 546 private int end = -1; // 0xffffffff 547 548 private final byte[] hbuf; 549 550 { 551 hbuf = new byte[0]; 552 } 553 554 private final java.io.ObjectInputStream.PeekInputStream in; 555 556 { 557 in = null; 558 } 559 560 private int pos = 0; // 0x0 561 562 private int unread = 0; // 0x0 563 } 564 565 @SuppressWarnings({"unchecked", "deprecation", "all"}) 566 private static class Caches { 567 Caches()568 private Caches() { 569 throw new RuntimeException("Stub!"); 570 } 571 572 static final java.util.concurrent.ConcurrentMap< 573 java.io.ObjectStreamClass.WeakClassKey, java.lang.Boolean> 574 subclassAudits; 575 576 static { 577 subclassAudits = null; 578 } 579 580 static final java.lang.ref.ReferenceQueue<java.lang.Class<?>> subclassAuditsQueue; 581 582 static { 583 subclassAuditsQueue = null; 584 } 585 } 586 587 @SuppressWarnings({"unchecked", "deprecation", "all"}) 588 public abstract static class GetField { 589 GetField()590 public GetField() { 591 throw new RuntimeException("Stub!"); 592 } 593 getObjectStreamClass()594 public abstract java.io.ObjectStreamClass getObjectStreamClass(); 595 defaulted(java.lang.String name)596 public abstract boolean defaulted(java.lang.String name) throws java.io.IOException; 597 get(java.lang.String name, boolean val)598 public abstract boolean get(java.lang.String name, boolean val) throws java.io.IOException; 599 get(java.lang.String name, byte val)600 public abstract byte get(java.lang.String name, byte val) throws java.io.IOException; 601 get(java.lang.String name, char val)602 public abstract char get(java.lang.String name, char val) throws java.io.IOException; 603 get(java.lang.String name, short val)604 public abstract short get(java.lang.String name, short val) throws java.io.IOException; 605 get(java.lang.String name, int val)606 public abstract int get(java.lang.String name, int val) throws java.io.IOException; 607 get(java.lang.String name, long val)608 public abstract long get(java.lang.String name, long val) throws java.io.IOException; 609 get(java.lang.String name, float val)610 public abstract float get(java.lang.String name, float val) throws java.io.IOException; 611 get(java.lang.String name, double val)612 public abstract double get(java.lang.String name, double val) throws java.io.IOException; 613 get(java.lang.String name, java.lang.Object val)614 public abstract java.lang.Object get(java.lang.String name, java.lang.Object val) 615 throws java.io.IOException; 616 } 617 618 @SuppressWarnings({"unchecked", "deprecation", "all"}) 619 private class GetFieldImpl extends java.io.ObjectInputStream.GetField { 620 GetFieldImpl(java.io.ObjectStreamClass desc)621 GetFieldImpl(java.io.ObjectStreamClass desc) { 622 throw new RuntimeException("Stub!"); 623 } 624 getObjectStreamClass()625 public java.io.ObjectStreamClass getObjectStreamClass() { 626 throw new RuntimeException("Stub!"); 627 } 628 defaulted(java.lang.String name)629 public boolean defaulted(java.lang.String name) throws java.io.IOException { 630 throw new RuntimeException("Stub!"); 631 } 632 get(java.lang.String name, boolean val)633 public boolean get(java.lang.String name, boolean val) throws java.io.IOException { 634 throw new RuntimeException("Stub!"); 635 } 636 get(java.lang.String name, byte val)637 public byte get(java.lang.String name, byte val) throws java.io.IOException { 638 throw new RuntimeException("Stub!"); 639 } 640 get(java.lang.String name, char val)641 public char get(java.lang.String name, char val) throws java.io.IOException { 642 throw new RuntimeException("Stub!"); 643 } 644 get(java.lang.String name, short val)645 public short get(java.lang.String name, short val) throws java.io.IOException { 646 throw new RuntimeException("Stub!"); 647 } 648 get(java.lang.String name, int val)649 public int get(java.lang.String name, int val) throws java.io.IOException { 650 throw new RuntimeException("Stub!"); 651 } 652 get(java.lang.String name, float val)653 public float get(java.lang.String name, float val) throws java.io.IOException { 654 throw new RuntimeException("Stub!"); 655 } 656 get(java.lang.String name, long val)657 public long get(java.lang.String name, long val) throws java.io.IOException { 658 throw new RuntimeException("Stub!"); 659 } 660 get(java.lang.String name, double val)661 public double get(java.lang.String name, double val) throws java.io.IOException { 662 throw new RuntimeException("Stub!"); 663 } 664 get(java.lang.String name, java.lang.Object val)665 public java.lang.Object get(java.lang.String name, java.lang.Object val) 666 throws java.io.IOException { 667 throw new RuntimeException("Stub!"); 668 } 669 readFields()670 void readFields() throws java.io.IOException { 671 throw new RuntimeException("Stub!"); 672 } 673 getFieldOffset(java.lang.String name, java.lang.Class<?> type)674 private int getFieldOffset(java.lang.String name, java.lang.Class<?> type) { 675 throw new RuntimeException("Stub!"); 676 } 677 678 private final java.io.ObjectStreamClass desc; 679 680 { 681 desc = null; 682 } 683 684 private final int[] objHandles; 685 686 { 687 objHandles = new int[0]; 688 } 689 690 private final java.lang.Object[] objVals; 691 692 { 693 objVals = new java.lang.Object[0]; 694 } 695 696 private final byte[] primVals; 697 698 { 699 primVals = new byte[0]; 700 } 701 } 702 703 @SuppressWarnings({"unchecked", "deprecation", "all"}) 704 private static class HandleTable { 705 HandleTable(int initialCapacity)706 HandleTable(int initialCapacity) { 707 throw new RuntimeException("Stub!"); 708 } 709 assign(java.lang.Object obj)710 int assign(java.lang.Object obj) { 711 throw new RuntimeException("Stub!"); 712 } 713 markDependency(int dependent, int target)714 void markDependency(int dependent, int target) { 715 throw new RuntimeException("Stub!"); 716 } 717 markException(int handle, java.lang.ClassNotFoundException ex)718 void markException(int handle, java.lang.ClassNotFoundException ex) { 719 throw new RuntimeException("Stub!"); 720 } 721 finish(int handle)722 void finish(int handle) { 723 throw new RuntimeException("Stub!"); 724 } 725 setObject(int handle, java.lang.Object obj)726 void setObject(int handle, java.lang.Object obj) { 727 throw new RuntimeException("Stub!"); 728 } 729 lookupObject(int handle)730 java.lang.Object lookupObject(int handle) { 731 throw new RuntimeException("Stub!"); 732 } 733 lookupException(int handle)734 java.lang.ClassNotFoundException lookupException(int handle) { 735 throw new RuntimeException("Stub!"); 736 } 737 clear()738 void clear() { 739 throw new RuntimeException("Stub!"); 740 } 741 size()742 int size() { 743 throw new RuntimeException("Stub!"); 744 } 745 grow()746 private void grow() { 747 throw new RuntimeException("Stub!"); 748 } 749 750 private static final byte STATUS_EXCEPTION = 3; // 0x3 751 752 private static final byte STATUS_OK = 1; // 0x1 753 754 private static final byte STATUS_UNKNOWN = 2; // 0x2 755 756 java.io.ObjectInputStream.HandleTable.HandleList[] deps; 757 758 java.lang.Object[] entries; 759 760 int lowDep = -1; // 0xffffffff 761 762 int size = 0; // 0x0 763 764 byte[] status; 765 766 @SuppressWarnings({"unchecked", "deprecation", "all"}) 767 private static class HandleList { 768 HandleList()769 public HandleList() { 770 throw new RuntimeException("Stub!"); 771 } 772 add(int handle)773 public void add(int handle) { 774 throw new RuntimeException("Stub!"); 775 } 776 get(int index)777 public int get(int index) { 778 throw new RuntimeException("Stub!"); 779 } 780 size()781 public int size() { 782 throw new RuntimeException("Stub!"); 783 } 784 785 private int[] list; 786 787 private int size = 0; // 0x0 788 } 789 } 790 791 @SuppressWarnings({"unchecked", "deprecation", "all"}) 792 private static class PeekInputStream extends java.io.InputStream { 793 PeekInputStream(java.io.InputStream in)794 PeekInputStream(java.io.InputStream in) { 795 throw new RuntimeException("Stub!"); 796 } 797 peek()798 int peek() throws java.io.IOException { 799 throw new RuntimeException("Stub!"); 800 } 801 read()802 public int read() throws java.io.IOException { 803 throw new RuntimeException("Stub!"); 804 } 805 read(byte[] b, int off, int len)806 public int read(byte[] b, int off, int len) throws java.io.IOException { 807 throw new RuntimeException("Stub!"); 808 } 809 readFully(byte[] b, int off, int len)810 void readFully(byte[] b, int off, int len) throws java.io.IOException { 811 throw new RuntimeException("Stub!"); 812 } 813 skip(long n)814 public long skip(long n) throws java.io.IOException { 815 throw new RuntimeException("Stub!"); 816 } 817 available()818 public int available() throws java.io.IOException { 819 throw new RuntimeException("Stub!"); 820 } 821 close()822 public void close() throws java.io.IOException { 823 throw new RuntimeException("Stub!"); 824 } 825 getBytesRead()826 public long getBytesRead() { 827 throw new RuntimeException("Stub!"); 828 } 829 830 private final java.io.InputStream in; 831 832 { 833 in = null; 834 } 835 836 private int peekb = -1; // 0xffffffff 837 838 private long totalBytesRead = 0; // 0x0 839 } 840 841 @SuppressWarnings({"unchecked", "deprecation", "all"}) 842 private static class ValidationList { 843 ValidationList()844 ValidationList() { 845 throw new RuntimeException("Stub!"); 846 } 847 register(java.io.ObjectInputValidation obj, int priority)848 void register(java.io.ObjectInputValidation obj, int priority) 849 throws java.io.InvalidObjectException { 850 throw new RuntimeException("Stub!"); 851 } 852 doCallbacks()853 void doCallbacks() throws java.io.InvalidObjectException { 854 throw new RuntimeException("Stub!"); 855 } 856 clear()857 public void clear() { 858 throw new RuntimeException("Stub!"); 859 } 860 861 private java.io.ObjectInputStream.ValidationList.Callback list; 862 863 @SuppressWarnings({"unchecked", "deprecation", "all"}) 864 private static class Callback { 865 Callback( java.io.ObjectInputValidation obj, int priority, java.io.ObjectInputStream.ValidationList.Callback next, java.security.AccessControlContext acc)866 Callback( 867 java.io.ObjectInputValidation obj, 868 int priority, 869 java.io.ObjectInputStream.ValidationList.Callback next, 870 java.security.AccessControlContext acc) { 871 throw new RuntimeException("Stub!"); 872 } 873 874 final java.security.AccessControlContext acc; 875 876 { 877 acc = null; 878 } 879 880 java.io.ObjectInputStream.ValidationList.Callback next; 881 882 final java.io.ObjectInputValidation obj; 883 884 { 885 obj = null; 886 } 887 888 final int priority; 889 890 { 891 priority = 0; 892 } 893 } 894 } 895 } 896