[jira] [Commented] (CASSANDRA-15329) in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader
[ https://issues.apache.org/jira/browse/CASSANDRA-15329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948327#comment-16948327 ] Alex Petrov commented on CASSANDRA-15329: - Thank you! Committed as [c55d727bbe8d66e87497d6c8b6301a767b11bb4c|https://github.com/apache/cassandra/commit/c55d727bbe8d66e87497d6c8b6301a767b11bb4c] to trunk. > in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader > -- > > Key: CASSANDRA-15329 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15329 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Attachments: CASSANDRA-15329.patch > > > When running the in-JVM dtests on on java 11 they fail while trying to cast > the Versions.class.getClassLoader to URLClassLoader, which is no longer the > default ClassLoader on java 11. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15329) in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader
[ https://issues.apache.org/jira/browse/CASSANDRA-15329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946157#comment-16946157 ] David Capwell commented on CASSANDRA-15329: --- "would you mind if I switched from stream API to regular array allocation?" I don't mind. If you want I can do that later today. > in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader > -- > > Key: CASSANDRA-15329 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15329 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Attachments: CASSANDRA-15329.patch > > > When running the in-JVM dtests on on java 11 they fail while trying to cast > the Versions.class.getClassLoader to URLClassLoader, which is no longer the > default ClassLoader on java 11. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15329) in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader
[ https://issues.apache.org/jira/browse/CASSANDRA-15329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945956#comment-16945956 ] Alex Petrov commented on CASSANDRA-15329: - Thank you for the patch, +1! I have only one small remark [~dcapwell], would you mind if I switched from stream API to regular array allocation? I think there's a lot of value in streams when we're using them for multi-step operations I'd still stick to array allocation. However, I do not have a strong opinion about it, just let me know and I'll commit as-is or with a proposed change. Thanks! > in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader > -- > > Key: CASSANDRA-15329 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15329 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Attachments: CASSANDRA-15329.patch > > > When running the in-JVM dtests on on java 11 they fail while trying to cast > the Versions.class.getClassLoader to URLClassLoader, which is no longer the > default ClassLoader on java 11. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15329) in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader
[ https://issues.apache.org/jira/browse/CASSANDRA-15329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938812#comment-16938812 ] David Capwell commented on CASSANDRA-15329: --- Moved patch to GitHub, can be found [here|https://github.com/dcapwell/cassandra/commit/15dc0531631032fe60ff52e416739f4fd3108bb2] > in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader > -- > > Key: CASSANDRA-15329 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15329 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Attachments: CASSANDRA-15329.patch > > > When running the in-JVM dtests on on java 11 they fail while trying to cast > the Versions.class.getClassLoader to URLClassLoader, which is no longer the > default ClassLoader on java 11. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-15329) in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader
[ https://issues.apache.org/jira/browse/CASSANDRA-15329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938046#comment-16938046 ] Jon Meredith commented on CASSANDRA-15329: -- +1 from me, this makes it possible to run the in-JVM dtests with JDK11. I still get some failures (including a SIGBUS inside IntellIJ when running the DistributedReadWriteTest suite, may be a local set up issue) and StreamingTest fails when run as {{ant test-jvm-dtest}} but it's much better than all tests failing. > in-JVM dtest fails on java 11 since system ClassLoader is not a URLClassLoader > -- > > Key: CASSANDRA-15329 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15329 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Attachments: CASSANDRA-15329.patch > > > When running the in-JVM dtests on on java 11 they fail while trying to cast > the Versions.class.getClassLoader to URLClassLoader, which is no longer the > default ClassLoader on java 11. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org