Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347741

Test java/io/File/createTempFile/SpecialTempFile.java still fails after JDK-8345368

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 25
    • core-libs
    • javatestOS=Windows Server 2022 10.0 (amd64)

    • windows

      ----------System.out:(13/1461)*----------
      In test NulName, creating temp file with prefix, SpecialTempFile\u0000, suffix, .test, in dir, .\\14727647982169981840
      In test NulName, creating temp file with prefix, SpecialTempFile\u0000, suffix, .test, in dir, .\\.7886288106786119208
      In test goodName, creating temp file with prefix, ///..///, suffix, .temp, in dir, .\\1360806059484340188
      In test goodName, creating temp file with prefix, ///..///, suffix, .temp, in dir, .\\.6604176621602178742
      In test goodName, creating temp file with prefix, /foo, suffix, .tmp, in dir, .\\11092175602177492235
      In test goodName, creating temp file with prefix, /foo, suffix, .tmp, in dir, .\\.9227865231080387132
      In test SlashedName, creating temp file with prefix, temp, suffix, ///..///.., in dir, .\\15651856784426376425
      In test SlashedName, creating temp file with prefix, temp, suffix, ///..///.., in dir, .\\.15282961645785975560
      In test SlashedName, creating temp file with prefix, ///..///, suffix, ///..///.., in dir, .\\2766919204568069044
      In test SlashedName, creating temp file with prefix, ///..///, suffix, ///..///.., in dir, .\\.4475844225593148474
      In test SlashedName, creating temp file with prefix, /foo, suffix, ///..///.., in dir, .\\14281520609463687403
      In test SlashedName, creating temp file with prefix, /foo, suffix, ///..///.., in dir, .\\.12505916639085290625
      In test ReservedName, creating temp file with prefix, LPT1.package.zip, suffix, .temp, in dir, .\\9475534149988230945
      ----------System.err:(12/644)----------
      java.io.IOException: Unable to create temporary file
      at java.base/java.io.File.createTempFile(File.java:1886)
      at SpecialTempFile.test(SpecialTempFile.java:67)
      at SpecialTempFile.main(SpecialTempFile.java:114)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      javatestOS=Windows Server 2022 10.0 (amd64)

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: