This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shell-style programming in Kawa


On 01/25/2014 11:46 PM, Jamison Hope wrote:
By the way, I was just playing around with this a bit and found some
interesting behavior:

#|kawa:1|# (gnu.text.Path:currentPath)
.
#|kawa:2|# (gnu.text.Path:setCurrentPath ".")
#|kawa:3|# (gnu.text.Path:currentPath)
<unknown>: internal compile error - caught java.lang.StackOverflowError

The currentPath apparently explodes on any relative path unless it's
eq? to the userDirPath object.

I checked in a fix to this.  I just make the new path absolute
(unless it is userDirPath, which is considered absolute).
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]