Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SerializationServiceBuilder ignores useNativeByteOrder #13410

Closed
vbekiaris opened this issue Jul 5, 2018 · 0 comments
Closed

SerializationServiceBuilder ignores useNativeByteOrder #13410

vbekiaris opened this issue Jul 5, 2018 · 0 comments

Comments

@vbekiaris
Copy link
Contributor

@vbekiaris vbekiaris commented Jul 5, 2018

Reproducer:

@Test
    public void test_useNativeByteOrder() {
        ByteOrder nativeOrder = ByteOrder.nativeOrder();
        SerializationServiceBuilder serializationServiceBuilder = new DefaultSerializationServiceBuilder();
        InternalSerializationService serializationService = serializationServiceBuilder
                .setUseNativeByteOrder(true).build();
        assertEquals(nativeOrder, serializationService.getByteOrder());
    }

Kudos @gokhanoner for catching this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.