RFR: 8286386: Address possibly lossy conversions in java.net.http [v5]

Roger Riggs rriggs at openjdk.java.net
Wed May 11 18:53:54 UTC 2022


On Wed, 11 May 2022 18:33:44 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> So if x is a char, ~x seems to be an int :-(
>
> I have reverted adding constant fields. Too bad - the casts are back.

Phooey:  Sorry to have lead you astray.  :(
And casting before `~` does the same not wanted result.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8656


More information about the net-dev mailing list