240 Commits

Author SHA1 Message Date
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Joe Darcy
104e3cb24b 8282696: Add constructors taking a cause to InvalidObjectException and InvalidClassException
Reviewed-by: lancea
2022-03-07 14:47:52 +00:00
Andrey Turbanov
622970e47c 8281728: Redundant null check in LineNumberInputStream.read
Reviewed-by: redestad
2022-02-15 07:10:10 +00:00
Joe Darcy
9ca7ff3e4f 8281082: Improve javadoc references to JOSS
Reviewed-by: iris, rriggs, naoto, lancea
2022-02-01 22:30:08 +00:00
Roger Riggs
fdd9ca74bd 8280642: ObjectInputStream.readObject should throw InvalidClassException instead of IllegalAccessError
Reviewed-by: naoto, mchung
2022-02-01 20:13:14 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Aleksey Shipilev
cebaad1c94 8280041: Retry loop issues in java.io.ClassCache
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: rkennke, rriggs, plevart
2022-01-25 19:22:07 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Roger Riggs
3adc111766 8272236: Improve serial forms for transport
Reviewed-by: bchristi, rhalade, smarks
2022-01-18 23:35:34 +00:00
Roger Riggs
feff0e5578 8264934: Enhance cross VM serialization
Reviewed-by: smarks, rhalade, chegar
2022-01-18 23:35:32 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Roman Kennke
8fed8ab29c 8278065: Refactor subclassAudits to use ClassValue
Reviewed-by: rriggs, plevart
2022-01-12 13:47:25 +00:00
Roger Riggs
ac7430cf7e 8278044: ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases.
Backport-of: 8c0bb53f5ba6e71b81c9cb99e6f1587150fe531a
2021-12-21 16:31:58 +00:00
Roger Riggs
db3d6d7724 8278087: Deserialization filter and filter factory property error reporting under specified
Backport-of: f90425a1cbbc686045c87086af586e62f05f6c49
2021-12-21 15:42:36 +00:00
Roger Riggs
8c0bb53f5b 8278044: ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases.
Reviewed-by: lancea, bpb
2021-12-21 15:16:19 +00:00
Roger Riggs
f90425a1cb 8278087: Deserialization filter and filter factory property error reporting under specified
Reviewed-by: lancea, bpb
2021-12-21 14:24:44 +00:00
Roman Kennke
8eb453baeb 8277072: ObjectStreamClass caches keep ClassLoaders alive
Reviewed-by: rriggs, plevart
2021-12-10 16:24:16 +00:00
Roger Riggs
8e8fadf2d4 8278428: ObjectInputStream.readFully range check incorrect
Reviewed-by: alanb
2021-12-08 20:37:41 +00:00
Sergey Tsypanov
73a9654c26 8276806: Use Objects.checkFromIndexSize where possible in java.base
Reviewed-by: rriggs, lancea
2021-12-02 20:00:49 +00:00
Roger Riggs
0384739afc 8276665: ObjectInputStream.GetField.get(name, object) should throw ClassNotFoundException
Reviewed-by: naoto, lancea, smarks
2021-11-24 15:14:22 +00:00
Naoto Sato
231fb61aae 8276970: Default charset for PrintWriter that wraps PrintStream
Reviewed-by: rriggs, alanb
2021-11-18 01:12:12 +00:00
Roger Riggs
8ed384cfb6 8276609: Document setting property jdk.serialFilter to an invalid value throws ExceptionInInitializerError
Reviewed-by: dfuchs, lancea
2021-11-16 20:53:49 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Sergey Tsypanov
0f23c6a9fe 8276926: Use String.valueOf() when initializing File.separator and File.pathSeparator
Reviewed-by: redestad, jlaskey
2021-11-10 12:46:30 +00:00
Pavel Rappo
615063364a 8276348: Use blessed modifier order in java.base
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Masanori Yano
9bf31652cb 8276164: RandomAccessFile#write method could throw IndexOutOfBoundsException that is not described in javadoc
Reviewed-by: alanb
2021-11-02 06:44:48 +00:00
Andrey Turbanov
9a3e954299 8274879: Replace uses of StringBuffer with StringBuilder within java.base classes
Reviewed-by: naoto
2021-10-27 16:18:12 +00:00
Naoto Sato
168081efc8 8270490: Charset.forName() taking fallback default value
Reviewed-by: joehw, rriggs, serb, dfuchs
2021-10-27 12:39:46 +00:00
Jaikiran Pai
35e5bb5f59 8269336: Malformed jdk.serialFilter incorrectly handled
Reviewed-by: rriggs
2021-10-20 15:10:28 +00:00
Joe Darcy
8c4da9c15f 8275013: Improve discussion of serialization method declarations in java.io.Object{Input, Output}Stream
Reviewed-by: smarks, rriggs
2021-10-15 16:17:29 +00:00
Andrey Turbanov
1459180f35 8274079: Cleanup unnecessary calls to Throwable.initCause() in java.base module
Reviewed-by: weijun
2021-10-05 13:36:37 +00:00
Brian Burkhalter
0786d8b7b3 8268435: (ch) ChannelInputStream could override readAllBytes
Reviewed-by: alanb, lancea
2021-10-01 20:15:44 +00:00
Pavel Rappo
8799856528 8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Brian Burkhalter
6cf5079d8e 8273513: Make java.io.FilterInputStream specification more precise about overrides
Reviewed-by: dfuchs, naoto
2021-09-13 17:50:10 +00:00
Pavel Rappo
b4b121018d 8273616: Fix trivial doc typos in the java.base module
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +00:00
Naoto Sato
7fc8540907 8260265: UTF-8 by Default
Reviewed-by: alanb, rriggs
2021-08-30 21:13:59 +00:00
Claes Redestad
30b0f820ce 8272626: Avoid C-style array declarations in java.*
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Brian Burkhalter
82688258f6 8272297: FileInputStream should override transferTo() for better performance
Reviewed-by: alanb
2021-08-16 15:53:33 +00:00
Jesper Wilhelmsson
048fb2cb17 Merge 2021-07-29 21:49:16 +00:00
Roger Riggs
286d313635 8271489: (doc) Clarify Filter Factory example
Reviewed-by: iris, kcr, naoto, bpb
2021-07-29 20:22:02 +00:00
Jesper Wilhelmsson
ec975c6a05 Merge 2021-07-10 01:23:18 +00:00
Roger Riggs
6889a39a3f 8268826: Cleanup Override in Context-Specific Deserialization Filters
Reviewed-by: dfuchs, bchristi
2021-07-09 14:33:56 +00:00
Jesper Wilhelmsson
dfd6b2be7d Merge 2021-07-08 23:21:00 +00:00
Brian Burkhalter
f46a917270 6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF
Reviewed-by: naoto, lancea, joehw
2021-07-08 19:05:29 +00:00
Weijun Wang
e9b2c058a4 8269409: Post JEP 411 refactoring: core-libs with maximum covering > 10K
Reviewed-by: lancea, naoto
2021-06-28 19:05:33 +00:00
Brian Burkhalter
68ef21db41 4847239: (spec) File.createTempFile() should make it clear that it doesn't create the temporary directory
Reviewed-by: naoto, lancea
2021-06-25 19:08:35 +00:00
Roger Riggs
13d6180421 8264859: Implement Context-Specific Deserialization Filters
Reviewed-by: bchristi, dfuchs, chegar
2021-06-09 12:30:07 +00:00
Brian Burkhalter
56b65e4a8d 8267569: java.io.File.equals contains misleading Javadoc
Reviewed-by: alanb, dfuchs, bchristi, naoto
2021-06-02 16:33:21 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00