google / google/j2objc

test_serialization in libcore.java.nio.file are failing

Open
#1,425 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6k
Forks
999
Avg merge
19h 20m
Merged PRs (30d)
14

Description

_hex_ is a string representing a serialized exception in hex.
_hex1_ is obtained by deserializing and serializing _hex_.
When comparing _hex_ and _hex1_, _hex1_ is lowercase and _hex_ is uppercase.
If we do a comparison case insensitive, the start and end match but there is a section in the middle that is different.

Issue occurs for:
- AccessDeniedExceptionTest.java
- AtomicMoveNotSupportedExceptionTest.java
- DirectoryNotEmptyExceptionTest.java
- FileAlreadyExistsExceptionTest.java
- FileSystemExceptionTest.java
- FileSystemLoopExceptionTest.java
- NoSuchFileExceptionTest.java
- NotDirectoryExceptionTest.java
- NotLinkExceptionTest.java

Issue does not occur for:
- DirectoryIteratorExceptionTest.java
- FileSystemAlreadyExistsExceptionTest.java
- FileSystemNotFoundExceptionTest.java
- InvalidPathExceptionTest.java
- ProviderMismatchExceptionTest.java
- ProviderNotFoundExceptionTest.java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.