hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13932) [JDK 11] Casts to BlockStoragePolicy[] in unit tests raise ClassCastExceptions
Date Thu, 27 Sep 2018 02:43:00 GMT

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

Akira Ajisaka commented on HDFS-13932:
--------------------------------------

+1, committing this.

> [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
>            Priority: Minor
>         Attachments: HDFS-13932.patch, HDFS-13932.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message