hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13932) [JDK 11] Casts to BlockStoragePolicy[] in unit tests raise ClassCastExceptions
Date Fri, 21 Sep 2018 18:19:00 GMT
Andrew Purtell created HDFS-13932:
-------------------------------------

             Summary: [JDK 11] Casts to BlockStoragePolicy[] in unit tests raise ClassCastExceptions

                 Key: HDFS-13932
                 URL: https://issues.apache.org/jira/browse/HDFS-13932
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
            Reporter: Andrew Purtell


For example

java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Lorg.apache.hadoop.hdfs.protocol.BlockStoragePolicy;
([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lorg.apache.hadoop.hdfs.protocol.BlockStoragePolicy;
is in unnamed module of loader 'app')
	at org.apache.hadoop.hdfs.web.TestWebHDFS.testStoragePolicy(TestWebHDFS.java:1391)

This is with Java 11+28. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message