raphw

Joined 11 years ago

Karma
78
Submissions
18
Member since
Mar 4
software consultant in Oslo
View on Hacker News

Recent submissions

Comment · 5 months ago
A large scale analysis of Java module adoption, module naming, dependency history, ownership collisions, automatic modules, and publication trends across Maven Central.
Comment · 5 months ago
A modern Java build tool: Java-native config, plugin-free, with module-info.java treated as a feature, not an afterthought.
Comment · 10 years ago
This is actually not a requirement anymore. Mockito 2 can mock final types and methods.
Comment · 11 years ago
Byte Buddy does not generate source code, only byte code. Arguably, when creating such POJOs that are used within an application, most people would prefer source code.
Comment · 11 years ago
You are right, it is stated here: https://wiki.openjdk.java.net/display/HotSpot/Deconstructing...

I will update and rerun the benchmark some time. Unfortunately, storing a value in a static final field allows the VM to pre-determine the entire method call and to erase the invocation altogether. This makes it hard to measure the impact of the method call. It is also questionable if this is the desired measurement as reflection is normally used to delay a call site determination to runtime which could not be done using a MethodHandle in a static final field.

But really good catch! I will hava a look at it some time soon.

Comment · 11 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton