Dan Xu
512fbc2a59
8025128: File.createTempFile fails if prefix is absolute path
...
Use only the file name from the supplied prefix for backward compatibility
Reviewed-by: alanb, chegar
2013-09-27 17:09:25 -07:00
Dan Xu
d6854baa4e
8023765: Improve MaxPathLength.java testcase and reduce its test load
...
7160013: java/io/File/MaxPathLength.java fails
Reviewed-by: alanb
2013-08-30 16:45:45 -07:00
Dan Xu
ae3b889b67
4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
...
Exclude the possible usage of linked files or directories in the test
Reviewed-by: alanb
2013-08-29 10:43:46 -07:00
Ivan Gerasimov
910d9b815c
7129312: BufferedInputStream calculates negative array size with large streams and mark
...
Reviewed-by: alanb
2013-08-25 23:20:59 +04:00
Dan Xu
31584b6b19
8023430: Replace File.mkdirs with Files.createDirectories to get MaxPathLength.java failure details
...
Reviewed-by: alanb
2013-08-22 11:43:18 -07:00
Dan Xu
bcc5da3b77
4858457: File.getCanonicalPath() throws IOException when invoked with "nul" (win)
...
Reviewed-by: alanb
2013-08-15 12:36:50 -07:00
Dan Xu
94e1bc3172
8017212: File.createTempFile requires unnecessary "read" permission
...
Directly call FileSystem method to check a file existence. Also reviewed by tom.hawtin@oracle.com
Reviewed-by: alanb
2013-07-11 13:40:25 -07:00
Dan Xu
41f703dac2
8013827: File.createTempFile hangs with temp file starting with 'com1.4'
...
8011950: java.io.File.createTempFile enters infinite loop when passed invalid data
Reviewed-by: alanb
2013-06-10 11:06:26 -07:00
Dan Xu
99e8d73193
8015628: Test Failure in closed/java/io/pathNames/GeneralSolaris.java
...
Reviewed-by: alanb
2013-05-31 13:34:27 -07:00
Yiming Wang
ebea2d8168
8009258: TEST_BUG:java/io/pathNames/GeneralWin32.java fails intermittently
...
Reviewed-by: dxu, alanb
2013-05-28 22:22:48 -07:00
Rob McKenna
87a429a457
7038105: File.isHidden() should return true for pagefile.sys and hiberfil.sys
...
Reviewed-by: alanb
2013-05-28 16:35:17 +01:00
Dan Xu
a8783e010f
8011136: FileInputStream.available and skip inconsistencies
...
Correct the behavior of available() and update related java specs for available() and skip() in InputStream and FileInputStream classes.
Reviewed-by: alanb
2013-05-17 12:04:18 -07:00
Brian Goetz
68101a98fd
8003258: BufferedReader.lines()
...
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: alanb, mduigou, psandoz
2013-05-06 20:54:54 -07:00
Dan Xu
c31fc852f1
8003992: File and other classes in java.io do not handle embedded nulls properly
...
Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer@redhat.com
Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
2013-05-06 14:17:59 -07:00
Alan Bateman
3db24cefee
8005555: TEST_BUG: java/io/Serializable/accessConstants/AccessConstants.java should be removed
...
Reviewed-by: chegar
2013-04-24 19:03:07 +01:00
Dan Xu
2ffe97f06e
8010837: FileInputStream.available() throw IOException when encountering negative available values
...
Remove the check in the native code to allow negative values
Reviewed-by: mchung
2013-03-27 09:00:34 -07:00
Alan Bateman
c12b624078
8005978: shell tests need to use the $COMPILEJDK for javac, jar and other tools
...
Reviewed-by: chegar
2013-01-11 20:19:55 +00:00
Alexey Utkin
c5c34df7bf
8004928: TEST_BUG: Reduce dependence of CoreLib tests from the AWT subsystem
...
The tests were refactored to drop AWT dependence where it was possible.
Reviewed-by: alanb, mchung
2012-12-17 14:34:37 +04:00
Mark Sheppard
c9063f559f
8003890: corelibs test scripts should pass TESTVMOPTS
...
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Alexey Utkin
d869bfa179
7162111: TEST_BUG: change tests run in headless mode [macosx] (open)
...
In problem tests detection of AWT headless mode was introduced or AWT dependence was removed.
Reviewed-by: alanb
2012-11-26 15:54:39 +04:00
Alan Bateman
430592a30e
7197491: update copyright year to match last edit in jdk8 jdk repository
...
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Dan Xu
6e283062c6
7186817: Remove Windows 95/98/ME Support
...
Reviewed-by: alanb
2012-10-11 11:47:05 +01:00
Eric Wang
25c7724d6e
6962637: TEST_BUG: java/io/File/MaxPathLength.java may fail in busy system
...
Reviewed-by: dholmes, alanb
2012-08-28 11:12:46 +01:00
Rob McKenna
e892fb5b1d
6931128: (spec) File attribute tests fail when run as root
...
Reviewed-by: alanb
2012-08-15 22:46:35 +01:00
Eric Wang
3ba6a2dff8
7076644: TEST_BUG: test/java/io/File/Basic.java fails with cygwin
...
Reviewed-by: alanb
2012-08-07 12:47:45 +01:00
Xueming Shen
067447f6c6
7130915: File.equals does not give expected results when path contains Non-English characters on Mac OS X
...
To support Unicode nfd/nfc file path on Macos
Reviewed-by: alanb
2012-07-19 21:23:53 -07:00
James Melvin
d090606f36
7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
...
On Mac OS X, align system property "os.arch" with Apple legacy JDKs. Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.
Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Alan Bateman
3ecf3e0fa1
7152866: Tests not run because they are missing the @run tag
...
Reviewed-by: chegar, dholmes
2012-03-12 10:17:18 +00:00
Alan Bateman
3269d85838
7113349: Initial changeset for Macosx port to jdk
...
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Abhijit Saha
162d75c68c
Merge
2012-02-20 11:31:53 -08:00
Chris Hegarty
8d3dc3ed37
6671616: TEST_BUG: java/io/File/BlockIsDirectory.java fails when /dev/dsk empty (sol)
...
Reviewed-by: alanb
2012-01-17 14:10:04 +00:00
Gary Adams
6eb76c4598
7030573: test/java/io/FileInputStream/LargeFileAvailable.java fails when there is insufficient disk space
...
Reviewed-by: alanb
2012-01-09 19:33:02 +00:00
Stuart Marks
348fa7b88e
7112267: clean up fix for 7110700
...
Reviewed-by: dmeetry
2011-11-17 15:04:46 -08:00
Stuart Marks
d6e13af09c
7110700: Enhance exception throwing mechanism in ObjectStreamClass
...
Reviewed-by: dmeetry, hawtin
2011-11-11 15:22:11 -08:00
Sean Coffey
9e42e3d20a
7105952: Improve finalisation for FileInputStream/FileOutputStream/RandomAccessFile
...
Reviewed-by: alanb
2011-11-11 10:08:40 +00:00
Sean Coffey
81d33c4727
7082769: FileInputStream/FileOutputStream/RandomAccessFile allow file descriptor be closed when still in use
...
Reviewed-by: alanb
2011-09-13 11:21:51 +01:00
Alan Bateman
ec94102c63
7081813: ProblemList.txt updates (8/2011)
...
Reviewed-by: weijun, mchung
2011-08-22 16:04:04 +01:00
Alan Bateman
9c5193ff42
7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer fails
...
Reviewed-by: forax, mduigou
2011-08-18 16:47:20 +01:00
Xue-Lei Andrew Fan
2ee0410a0c
7068662: Reserve and restore the default locale
...
Reviewed-by: alanb, weijun
2011-07-29 02:50:58 -07:00
Kelly O'Hair
d2b1e20c7d
7033660: Update copyright year to 2011 on any files changed in 2011
...
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Stuart Marks
90194bc501
7022624: use try-with-resources in java.io tests
...
Reviewed-by: alanb
2011-03-01 15:05:32 -08:00
Alan Bateman
2f37110eca
7006126: (fs) Updates to file system API (1/2011)
...
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Chris Hegarty
e208093ec8
7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
...
Reviewed-by: alanb, mduigou
2011-01-07 13:08:18 +00:00
Lana Steuck
fb91d40572
Merge
2011-01-04 17:05:38 -08:00
Kelly O'Hair
6b6a611c8e
6962318: Update copyright year
...
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Stuart Marks
6e7cb44eea
6880112: Project Coin: Port JDK core library code to use diamond operator
...
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Joe Darcy
e9ba5a8f34
6990094: ObjectInputStream cloneArray doesn't handle short[]
...
Reviewed-by: alanb, smarks, peterjones
2010-12-07 01:09:17 -08:00
Mandy Chung
c380ff11d0
6402006: FileInputStream.available() returns negative values when reading a large file
...
Reviewed-by: alanb
2010-12-01 15:58:49 -08:00
Mandy Chung
fb4886a3b5
6720170: ByteArrayInputStream.skip(long) can overflow internally
...
Reviewed-by: dholmes, alanb
2010-11-04 14:19:31 -07:00
Alan Bateman
39bcf3ff5f
6983520: java/io/pathNames/GeneralWin32.java fails with jdk7-b108 (win)
...
Reviewed-by: sherman
2010-10-12 09:46:17 +01:00