Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File handle leaks with Groovy verticles on Windows #70

Open
fbricon opened this issue Apr 30, 2014 · 0 comments
Open

File handle leaks with Groovy verticles on Windows #70

fbricon opened this issue Apr 30, 2014 · 0 comments

Comments

@fbricon
Copy link

fbricon commented Apr 30, 2014

Originally reported at https://bugs.eclipse.org/bugs/show_bug.cgi?id=432546

I tried to make a module out of the Groovy http server verticle (https://github.com/vert-x/vertx-examples/blob/master/src/raw/groovy/http/Server.groovy), with a mod.json containing :
{
"main": "Server.groovy",
"auto-redeploy": true
}

On windows 7, Oracle JDK 7u45 or 8, when I modify the content of Server.groovy, the file is locked by vertx (2.0.1.Final or 2.1.RC3) so I get an error when saving it. Weirdly enough, vertx detects something has changed, but still, the new content is not served. The lock disappears after some time, but the delay seems random. Corresponding java implem. doesn't block file updates.

Test mod at https://github.com/fbricon/bug432546

Screencast showing how bad it is : http://screencast.com/t/MySckzdFu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant