changeset 14784:d24681015f6b

8156579: Two JavaBeans tests failed Reviewed-by: alanb
author serb
date Sat, 21 May 2016 02:53:37 +0300
parents 7b4de9e4c16b
children 174b223645b7
files test/ProblemList.txt test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java test/java/beans/XMLDecoder/8028054/TestMethodFinder.java
diffstat 3 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Thu May 19 22:24:00 2016 +0300
+++ b/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/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java	Thu May 19 22:24:00 2016 +0300
+++ b/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/test/java/beans/XMLDecoder/8028054/TestMethodFinder.java	Thu May 19 22:24:00 2016 +0300
+++ b/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 {