News for hackers. Stuff that matters.

GreenToad

Re:Java 22 Released on Tuesday March 19, 2024 @11:16AM (#39756623)
"Vector API" is universal api for SIMD. It will probably remain in incubator until valhalla delivers value types.
Re:Log4Shell update: second Log4j vulnerability published on Wednesday December 15, 2021 @05:54AM (#29564244)
> That class needs to be on the server already

If you are talking about original log4shell then no! Jndi will grab a class definition from ldap, load it and then deserialize it.

Re:Go does not need a Java-style GC on Tuesday November 23, 2021 @04:57PM (#29324079)

    Point[] array=new Point[15000];
In java would create an array with null references, to fill it up you need to create each object so that point is valid.
Re:Amazon Corretto JDK on Sunday October 17, 2021 @04:33AM (#28894901)
Liberica JDK
Re:Java 17 / JDK 17: General Availability on Wednesday September 15, 2021 @05:03AM (#28536854)
It looks like jep 418, when delivered, might be used for that.
Re:Nextcloud Hub 21 on Wednesday February 24, 2021 @08:55AM (#26249840)
Re:Nextcloud Hub 21 on Tuesday February 23, 2021 @08:36AM (#26237039)
anyone remembers the term "slashdotted"?
Re:Java.­math.­BigDecimal toString is not thread safe on Wednesday August 30, 2017 @02:01PM (#15134429)
In java lang specs: "A thread that can only see a reference to an object after that object has been completely initialized is guaranteed to see the correctly initialized values for that object's final fields." This makes it a JVM bug because no thread should be able to see uninitialized final fields of an object.