[ 
https://issues.apache.org/jira/browse/DERBY-7149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654119#comment-17654119
 ] 

Richard N. Hillegas commented on DERBY-7149:
--------------------------------------------

Attaching derby-7149-02-aa-disableJMXtest.diff. This patch disables the 
testPageCache() and testStatementCache() tests in CacheManagementMBeanTest when 
running over RMI with a JVM which has a restrictive deserialization filter.

With this patch, I get clean results from a full test run using both the 
classpath and the modulepath.

Touches the following files:

{noformat}
M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/JMXConnectionDecorator.java

Add some machinery so that the tests can introspect whether MBeans are running 
over RMI.


M       
java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/management/CacheManagerMBeanTest.java

Skip the tests as described above.
{noformat}


> Make it possible to build and test Derby cleanly with JDK 20
> ------------------------------------------------------------
>
>                 Key: DERBY-7149
>                 URL: https://issues.apache.org/jira/browse/DERBY-7149
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.17.0.0
>            Reporter: Richard N. Hillegas
>            Assignee: Richard N. Hillegas
>            Priority: Major
>         Attachments: derby-7149-01-aa-deprecateURLconstructor.diff, 
> derby-7149-01-ac-deprecateURLconstructor.diff, 
> derby-7149-02-aa-disableJMXtest.diff
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to