Clojure

In java.io, the make-parents function can't handle files without parent directory.

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: Release 1.2
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

The make-parents function throws a null pointer exception when given a simple local directory file.

user> (io/make-parents "test")

Thrown class java.lang.NullPointerException

Activity

Hide
Christopher Redinger added a comment -

Second patch is more idiomatic.

Show
Christopher Redinger added a comment - Second patch is more idiomatic.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: