8156579: Two JavaBeans tests failed
authorserb
Sat, 21 May 2016 02:53:37 +0300
changeset 38989 49fb02b3e95b
parent 38988 ee7553e41c95
child 38990 825c5348424c
8156579: Two JavaBeans tests failed Reviewed-by: alanb
jdk/test/ProblemList.txt
jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java
jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java
--- a/jdk/test/ProblemList.txt	Thu May 19 22:24:00 2016 +0300
+++ b/jdk/test/ProblemList.txt	Sat May 21 02:53:37 2016 +0300
@@ -116,9 +116,6 @@
 
 # jdk_beans
 
-java/beans/XMLDecoder/8028054/TestConstructorFinder.java        8156579 generic-all
-java/beans/XMLDecoder/8028054/TestMethodFinder.java             8156579 generic-all
-
 java/beans/Introspector/8132566/OverridePropertyInfoTest.java   8132565 generic-all
 java/beans/Introspector/8132566/OverrideUserDefPropertyInfoTest.java 8132565 generic-all
 
--- a/jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java	Thu May 19 22:24:00 2016 +0300
+++ b/jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java	Sat May 21 02:53:37 2016 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 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
@@ -34,8 +34,12 @@
  * @summary Tests that cached constructors have synchronized access
  * @author Sergey Malenkov
  * @modules java.desktop/com.sun.beans.finder
+ *          java.activation
+ *          java.transaction
+ *          java.corba
+ *          java.xml.bind
  * @compile -XDignore.symbol.file TestConstructorFinder.java
- * @run main TestConstructorFinder
+ * @run main/othervm -addmods java.activation -addmods java.transaction -addmods java.corba -addmods java.xml.bind TestConstructorFinder
  */
 
 public class TestConstructorFinder {
--- a/jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java	Thu May 19 22:24:00 2016 +0300
+++ b/jdk/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java	Sat May 21 02:53:37 2016 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 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
@@ -34,8 +34,12 @@
  * @summary Tests that cached methods have synchronized access
  * @author Sergey Malenkov
  * @modules java.desktop/com.sun.beans.finder
+ *          java.activation
+ *          java.transaction
+ *          java.corba
+ *          java.xml.bind
  * @compile -XDignore.symbol.file TestMethodFinder.java
- * @run main TestMethodFinder
+ * @run main/othervm -addmods java.activation -addmods java.transaction -addmods java.corba -addmods java.xml.bind TestMethodFinder
  */
 
 public class TestMethodFinder {