Letractively / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

NodeTypeScriptProcessor: possible bugs in code logic #919

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by user:

I think there are two mistakes in the NodeTypeScriptProcessor:

- The command input stream is read in case of error and after waitFor(). The 
problem is that waitFor() could never return if the buffer is full and waits 
until you read it.
- The FileInputStream is not closed so your temp directory won't be deleted in 
your finally block

This issue was reported on github:
https://github.com/alexo/wro4j/issues/215

Original issue reported on code.google.com by alex.obj...@gmail.com on 2 Feb 2015 at 12:21