Commit Graph

187 Commits

Author SHA1 Message Date
Jan Lahoda
c3776db498 8342936: Enhance java.io.IO with parameter-less println() and readln()
Reviewed-by: asotona, jpai, naoto
2024-11-14 08:22:51 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Axel Boldt-Christmas
821c514a13 8341692: Implement JEP 490: ZGC: Remove the Non-Generational Mode
Reviewed-by: ihse, eosterlund, stefank, prr, cjplummer, dholmes
2024-10-30 11:05:07 +00:00
Brian Burkhalter
1341b81321 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Reviewed-by: alanb
2024-10-28 16:38:36 +00:00
Markus KARG
3c14c2babb 8341566: Add Reader.of(CharSequence)
Reviewed-by: rriggs, jpai, liach, alanb
2024-10-24 14:34:58 +00:00
Naoto Sato
426da4bbad 8341975: Unable to set encoding for IO.println, IO.print and IO.readln
Reviewed-by: rriggs, iris, alanb
2024-10-23 17:44:15 +00:00
Brian Burkhalter
b9cabbecda 8341997: Tests create files in src tree instead of scratch dir
Reviewed-by: erikj, jpai
2024-10-15 17:44:49 +00:00
Brian Burkhalter
042053c3a8 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows
Reviewed-by: alanb
2024-09-05 15:03:54 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Pavel Rappo
1b1dba8082 8333358: java/io/IO/IO.java test fails intermittently
Reviewed-by: naoto
2024-06-20 16:28:48 +00:00
Jaikiran Pai
bd046d9b9e 8222884: ConcurrentClassDescLookup.java times out intermittently
Reviewed-by: rriggs, mbaesken
2024-06-12 05:36:30 +00:00
Naoto Sato
25ad86234a 8332161: Test restoring echo in the Console implementation (java.base)
Reviewed-by: joehw, prappo
2024-06-07 16:22:02 +00:00
SendaoYan
4e8deb396e 8332922: Test java/io/IO/IO.java fails when /usr/bin/expect not exist
Reviewed-by: djelinski
2024-05-27 06:32:21 +00:00
Pavel Rappo
c099f14f07 8305457: Implement java.io.IO
Reviewed-by: naoto, smarks, jpai, jlahoda
2024-05-24 13:37:14 +00:00
Roger Riggs
8291c94bcd 8331224: ClassCastException in ObjectInputStream hides ClassNotFoundException
Reviewed-by: smarks
2024-05-21 14:11:39 +00:00
Naoto Sato
7cff04fc8a 8330276: Console methods with explicit Locale
Reviewed-by: joehw, rriggs, jlahoda
2024-05-15 19:28:24 +00:00
Jan Lahoda
5a8df4106a 8331535: Incorrect prompt for Console.readLine
8331681: Test that jdk.internal.io.JdkConsole does not interpret prompts

Reviewed-by: naoto, asotona
2024-05-13 08:16:30 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Brian Burkhalter
819f3d6fc7 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: alanb
2024-04-29 17:54:13 +00:00
Bill Huang
375bfac8e7 8327474: Review use of java.io.tmpdir in jdk tests
Reviewed-by: michaelm, jpai
2024-04-03 17:04:09 +00:00
Roger Riggs
85fc47c81a 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Reviewed-by: iris, stefank
2024-03-18 16:07:00 +00:00
Magnus Ihse Bursie
5c5a282f91 8325950: Make sure all files in the JDK pass jcheck
Reviewed-by: prr, wetmore, erikj, naoto
2024-02-19 16:13:34 +00:00
Chen Liang
f6d7e30b84 8294977: Convert test/jdk/java tests from ASM library to Classfile API
Reviewed-by: asotona
2024-02-19 14:07:46 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Brian Burkhalter
c2477a5cad 8322868: java/io/BufferedInputStream/TransferToTrusted.java has bad copyright header
Reviewed-by: dcubed
2024-01-02 20:35:09 +00:00
Sergey Tsypanov
38042ad4e9 8320971: Use BufferedInputStream.buf directly when param of implTransferTo() is trusted
Reviewed-by: alanb, bpb
2024-01-02 20:05:31 +00:00
Markus KARG
2d609557ff 8322141: SequenceInputStream.transferTo should not return as soon as Long.MAX_VALUE bytes have been transferred
Reviewed-by: vsitnikov, bpb, jpai
2023-12-20 17:00:44 +00:00
Brian Burkhalter
b98d13fc3c 8259637: java.io.File.getCanonicalPath() returns different values for same path
Reviewed-by: alanb
2023-12-18 18:10:34 +00:00
Brian Burkhalter
b0d145097c 8321053: Use ByteArrayInputStream.buf directly when parameter of transferTo() is trusted
Reviewed-by: alanb
2023-12-05 19:41:12 +00:00
Brian Burkhalter
32098ce33c 8320348: test/jdk/java/io/File/GetAbsolutePath.windowsDriveRelative fails if working directory is not on drive C
Reviewed-by: alanb, mbaesken
2023-11-20 18:23:02 +00:00
Brian Burkhalter
12fce4b715 8287843: File::getCanonicalFile doesn't work for \\?\C:\ style paths DOS device paths
Reviewed-by: alanb
2023-11-14 18:01:13 +00:00
Stewart X Addison
6a75c2406b 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Reviewed-by: bpb, shade
2023-11-14 17:06:03 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Brian Burkhalter
4a142c3b08 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Reviewed-by: lancea, djelinski, rriggs
2023-10-26 21:06:01 +00:00
Brian Burkhalter
373cdf257d 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: lancea, djelinski, rriggs
2023-09-22 17:24:05 +00:00
Brian Burkhalter
5cacf212f0 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Reviewed-by: alanb
2023-09-20 20:42:31 +00:00
Aleksey Shipilev
2e8a0ab272 8314120: Add tests for FileDescriptor.sync
Reviewed-by: alanb, bpb
2023-08-15 16:11:09 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Naoto Sato
bae2247938 8308591: JLine as the default Console provider
Reviewed-by: alanb
2023-07-20 16:11:13 +00:00
JoKern65
6eddbe26dd 8309219: Fix xlc17 clang 15 warnings in java.base
Reviewed-by: goetz, mdoerr
2023-06-07 13:42:03 +00:00
Brian Burkhalter
9188142698 8309216: Cast from jchar* to char* in test java/io/GetXSpace.java
Reviewed-by: rriggs, naoto
2023-06-06 15:15:32 +00:00
Brian Burkhalter
21af8bae38 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end
Reviewed-by: rriggs
2023-05-30 16:16:45 +00:00
Stefan Karlsson
d20034b09c 8307058: Implementation of Generational ZGC
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Erik Helin <ehelin@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Nils Eliasson <neliasso@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Leslie Zhai <lzhai@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Yadong Wang <yadongwang@openjdk.org>
Reviewed-by: eosterlund, aboldtch, rcastanedalo
2023-05-11 13:59:37 +00:00
Volker Simonis
4116b109f0 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
2023-05-08 14:56:05 +00:00
Matthias Baesken
a3137c750f 8305646: compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
Reviewed-by: alanb, shade
2023-04-05 13:27:16 +00:00
Brian Burkhalter
3ef834fc6f 8298619: java/io/File/GetXSpace.java is failing
Reviewed-by: rriggs
2023-04-04 15:56:51 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00
Per Minborg
74e1a8bfa8 8300236: Use VarHandle access in Data(Input | Output)Stream classes
Reviewed-by: rriggs, alanb
2023-01-25 12:54:27 +00:00
Alan Bateman
5b0af1a80b 8208077: File.listRoots performance degradation
Reviewed-by: lancea, bpb
2023-01-19 06:59:38 +00:00
Per Minborg
3462438ae1 8299576: Reimplement java.io.Bits using VarHandle access
Reviewed-by: uschindler, alanb
2023-01-17 07:44:26 +00:00