{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/101","labels_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/101/comments","events_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/101/events","html_url":"https://github.com/wildfly-security/wildfly-elytron/pull/101","id":55799011,"number":101,"title":"Fixes of tests for Java 8","user":{"login":"honza889","id":3178122,"avatar_url":"https://avatars.githubusercontent.com/u/3178122?v=3","gravatar_id":"","url":"https://api.github.com/users/honza889","html_url":"https://github.com/honza889","followers_url":"https://api.github.com/users/honza889/followers","following_url":"https://api.github.com/users/honza889/following{/other_user}","gists_url":"https://api.github.com/users/honza889/gists{/gist_id}","starred_url":"https://api.github.com/users/honza889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza889/subscriptions","organizations_url":"https://api.github.com/users/honza889/orgs","repos_url":"https://api.github.com/users/honza889/repos","events_url":"https://api.github.com/users/honza889/events{/privacy}","received_events_url":"https://api.github.com/users/honza889/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-28T18:56:32Z","updated_at":"2015-02-02T15:59:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/101","html_url":"https://github.com/wildfly-security/wildfly-elytron/pull/101","diff_url":"https://github.com/wildfly-security/wildfly-elytron/pull/101.diff","patch_url":"https://github.com/wildfly-security/wildfly-elytron/pull/101.patch"},"body":"Trivial fixes of bugs in tests which was invisible in Java 7 and prevent compilation in Java 8.\r\n* Bad name of SASL server caused usuccessful initialization (`GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos credentails)`) - was ignored by Java 7\r\n* `ByteStringBuilder` cannot append codepoints 0xD8xx (lonely surrogates) - cannot be used to complete test of StringPrep validation - was replaced."},"comment":{"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/comments/72481398","html_url":"https://github.com/wildfly-security/wildfly-elytron/pull/101#issuecomment-72481398","issue_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/101","id":72481398,"user":{"login":"dmlloyd","id":124581,"avatar_url":"https://avatars.githubusercontent.com/u/124581?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlloyd","html_url":"https://github.com/dmlloyd","followers_url":"https://api.github.com/users/dmlloyd/followers","following_url":"https://api.github.com/users/dmlloyd/following{/other_user}","gists_url":"https://api.github.com/users/dmlloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlloyd/subscriptions","organizations_url":"https://api.github.com/users/dmlloyd/orgs","repos_url":"https://api.github.com/users/dmlloyd/repos","events_url":"https://api.github.com/users/dmlloyd/events{/privacy}","received_events_url":"https://api.github.com/users/dmlloyd/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T15:59:16Z","updated_at":"2015-02-02T15:59:16Z","body":"There are several String constructors which will allow invalid surrogate pairs:\r\n\r\n• String(char[],int,int)\r\n• String(char[])\r\n• the deprecated String(byte[], int)\r\n\r\nSince invalid surrogate pairs are not a valid code point, you can't really UTF-16 encode them.  However if you want to construct various invalid UTF-16 sequences, you can do so using one of the above constructors.\r\n"}}