@@ -0,0 +1,3239 @@
+package com.fasterxml.jackson.core.json.async;%0A%0Aimport com.fasterxml.jackson.core.JsonFactory;%0Aimport com.fasterxml.jackson.core.JsonToken;%0Aimport com.fasterxml.jackson.core.async.AsyncTestBase;%0Aimport com.fasterxml.jackson.core.testsupport.AsyncReaderWrapper;%0A%0Aimport java.io.IOException;%0A%0Apublic class AsyncNonStandardNumberParsingTest extends AsyncTestBase%0A%7B%0A    private final JsonFactory DEFAULT_F = new JsonFactory();%0A%0A    public void testHexadecimal() throws Exception%0A    %7B%0A        final String JSON = %22%5B 0xc0ffee %5D%22;%0A%0A        // without enabling, should get an exception%0A        AsyncReaderWrapper p = createParser(DEFAULT_F, JSON, 1);%0A        assertToken(JsonToken.START_ARRAY, p.nextToken());%0A        try %7B%0A            p.nextToken();%0A            fail(%22Expected exception%22);%0A        %7D catch (Exception e) %7B%0A            verifyException(e, %22Unexpected character ('x'%22);%0A        %7D finally %7B%0A            p.close();%0A        %7D%0A    %7D%0A%0A    public void testHexadecimalBigX() throws Exception%0A    %7B%0A        final String JSON = %22%5B 0XC0FFEE %5D%22;%0A%0A        // without enabling, should get an exception%0A        AsyncReaderWrapper p = createParser(DEFAULT_F, JSON, 1);%0A        assertToken(JsonToken.START_ARRAY, p.nextToken());%0A        try %7B%0A            p.nextToken();%0A            fail(%22Expected exception%22);%0A        %7D catch (Exception e) %7B%0A            verifyException(e, %22Unexpected character ('X'%22);%0A        %7D finally %7B%0A            p.close();%0A        %7D%0A    %7D%0A%0A    public void testNegativeHexadecimal() throws Exception%0A    %7B%0A        final String JSON = %22%5B -0xc0ffee %5D%22;%0A%0A        // without enabling, should get an exception%0A        AsyncReaderWrapper p = createParser(DEFAULT_F, JSON, 1);%0A        assertToken(JsonToken.START_ARRAY, p.nextToken());%0A        try %7B%0A            p.nextToken();%0A            fail(%22Expected exception%22);%0A        %7D catch (Exception e) %7B%0A            verifyException(e, %22Unexpected character ('x'%22);%0A        %7D finally %7B%0A            p.close();%0A        %7D%0A    %7D%0A%0A    //next 2 tests do not work as expected%0A    /*%0A    public void testFloatMarker() throws Exception%0A    %7B%0A        final String JSON = %22%5B -0.123f %5D%22;%0A%0A        // without enabling, should get an exception%0A        AsyncReaderWrapper p = createParser(DEFAULT_F, JSON, 1);%0A        assertToken(JsonToken.START_ARRAY, p.nextToken());%0A        try %7B%0A            p.nextToken();%0A            fail(%22Expected exception%22);%0A        %7D catch (Exception e) %7B%0A            verifyException(e, %22Unexpected character ('f'%22);%0A        %7D finally %7B%0A            p.close();%0A        %7D%0A    %7D%0A%0A    public void testDoubleMarker() throws Exception%0A    %7B%0A        final String JSON = %22%5B -0.123d %5D%22;%0A%0A        // without enabling, should get an exception%0A        AsyncReaderWrapper p = createParser(DEFAULT_F, JSON, 1);%0A        assertToken(JsonToken.START_ARRAY, p.nextToken());%0A        try %7B%0A            p.nextToken();%0A            fail(%22Expected exception%22);%0A        %7D catch (Exception e) %7B%0A            verifyException(e, %22Unexpected character ('d'%22);%0A        %7D finally %7B%0A            p.close();%0A        %7D%0A    %7D%0A    */%0A%0A    private AsyncReaderWrapper createParser(JsonFactory f, String doc, int readBytes) throws IOException%0A    %7B%0A        return asyncForBytes(f, readBytes, _jsonDoc(doc), 1);%0A    %7D%0A%7D%0A

Create AsyncNonStandardNumberParsingTest.java (#787)