8153838: test/java/io/Serializable/failureAtomicity/FailureAtomicity.java doesnot declare module dependencies
Reviewed-by: alanb
Contributed-by: Felix Yang <felix.yang@oracle.com>
--- a/jdk/test/java/io/Serializable/failureAtomicity/FailureAtomicity.java Wed Jul 06 00:04:55 2016 -0700
+++ b/jdk/test/java/io/Serializable/failureAtomicity/FailureAtomicity.java Wed Jul 06 01:20:20 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, 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,7 @@
* @test
* @bug 8071474
* @summary Better failure atomicity for default read object.
+ * @modules jdk.compiler
* @library /lib/testlibrary
* @build jdk.testlibrary.FileUtils
* @compile FailureAtomicity.java SerialRef.java