changeset 14306:69f430549260

8154733: Fix module dependencies missed in java.rmi tests Reviewed-by: alanb, amlu Contributed-by: felix.yang@oracle.com
author amlu
date Thu, 28 Apr 2016 12:38:22 +0800
parents 566a5f5a9a5a
children 88dbf3f5bb92
files test/java/rmi/TEST.properties test/java/rmi/reliability/benchmark/bench/serial/Main.java test/sun/rmi/TEST.properties
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/java/rmi/TEST.properties	Thu Apr 28 12:38:22 2016 +0800
@@ -0,0 +1,1 @@
+modules = java.rmi
--- a/test/java/rmi/reliability/benchmark/bench/serial/Main.java	Wed Apr 27 17:47:17 2016 -0700
+++ b/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/test/sun/rmi/TEST.properties	Thu Apr 28 12:38:22 2016 +0800
@@ -0,0 +1,1 @@
+modules = java.rmi