mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Reviewed-by: rriggs
This commit is contained in:
parent
c01f53ac2d
commit
82d5768c1b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2024, 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
|
||||
|
@ -1272,7 +1272,7 @@ public class ObjectOutputStream
|
|||
}
|
||||
|
||||
bout.setBlockDataMode(true);
|
||||
if (cl != null && isCustomSubclass()) {
|
||||
if (isCustomSubclass()) {
|
||||
ReflectUtil.checkPackageAccess(cl);
|
||||
}
|
||||
annotateProxyClass(cl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue