--- a/jdk/test/com/sun/jdi/RunToExit.java Wed May 06 16:00:15 2015 -0700
+++ b/jdk/test/com/sun/jdi/RunToExit.java Thu May 07 09:11:49 2015 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,8 @@
* @bug 4997445
* @summary Test that with server=y, when VM runs to System.exit() no error happens
* @library /lib/testlibrary
+ * @modules java.management
+ * jdk.jdi
* @build jdk.testlibrary.* VMConnection RunToExit Exit0
* @run driver RunToExit
*/