8154733: Fix module dependencies missed in java.rmi tests
authoramlu
Thu, 28 Apr 2016 12:38:22 +0800
changeset 37678 616ec8e9183b
parent 37677 9774eca96b01
child 37679 489eb8ef084f
8154733: Fix module dependencies missed in java.rmi tests Reviewed-by: alanb, amlu Contributed-by: felix.yang@oracle.com
jdk/test/java/rmi/TEST.properties
jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java
jdk/test/sun/rmi/TEST.properties
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/java/rmi/TEST.properties	Thu Apr 28 12:38:22 2016 +0800
@@ -0,0 +1,1 @@
+modules = java.rmi
--- a/jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Wed Apr 27 17:47:17 2016 -0700
+++ b/jdk/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Thu Apr 28 12:38:22 2016 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 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
@@ -26,6 +26,7 @@
  * @summary The Serialization benchmark test. This java class is used to run the
  *          test under JTREG.
  * @library ../../
+ * @modules java.desktop
  * @build bench.BenchInfo bench.HtmlReporter bench.Util bench.Benchmark
  * @build bench.Reporter bench.XmlReporter bench.ConfigFormatException
  * @build bench.Harness bench.TextReporter
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/sun/rmi/TEST.properties	Thu Apr 28 12:38:22 2016 +0800
@@ -0,0 +1,1 @@
+modules = java.rmi