On Mon, 23 May 2022 14:21:55 GMT, Raffaello Giulietti <d...@openjdk.java.net> 
wrote:

>> src/java.base/share/classes/jdk/internal/util/random/RandomSupport.java line 
>> 1411:
>> 
>>> 1409:                 long U2 = (rng.nextLong() >>> 1);
>>> 1410:                 // Compute the actual x-coordinate of the randomly 
>>> chosen point.
>>> 1411:                 x = Math.fma(X[j-1] - X[j], (double)U1, X[j] * 
>>> 0x1.0p63));
>> 
>> Code is not compilable
>
> @Pr0methean As @turbanoff observes, I think there's a closing parentheses too 
> much on L.1411 and one on L.1421.
> Which compiler are you using ;-)  ?

Should be fixed as of fa340fb47b1169805f21fb71cce0da3fc175d427. I haven't yet 
found a way for IntelliJ IDEA to use the project as its own JDK, so I've 
sanity-checked the syntax using the Rainbow Brackets plugin.

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

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

Reply via email to