Blog: Gerard Davison


223 blogs updated: 24 min. ago
Quick Debugger Tip, where was that class loaded from.
Often when it is Friday afternoon and you want to go home early you come across an intractable class loading issue. You might grep your appl...
3
31-01-2018 11:45:17 Gerard Davison Advanced
Interpreting wpad.dat using jrunscript from JDK 8 to work out the right proxy.
In many environments you find that the correct proxy can only be fetched by parsing , which is a pain because it is actually a JavaScript fi...
0
15-06-2017 13:16:45 Gerard Davison Advanced
The "debugger" reserved word in JavaScript
This is a handy little tip for cases where you just can't get your debugger to start in the right context or the framework you are using doe...
4
14-03-2017 17:10:58 Gerard Davison Advanced
What is bound to generic types for method references in java 8, types and exceptions
So most of the time you are probably aware of method references that either reference instance of static methods directly, and they are usef...
6
15-08-2016 17:41:44 Gerard Davison Advanced
Getting a name for someone to connect back to your server.
When doing test automation it is often the case you need to know the name of the current machine in order to prompt another machine to conne...
3
02-06-2016 17:38:27 Gerard Davison Advanced
Converting string configuration properties to other types, with a bit of Optional.
Somedays you come across some code and think that's pretty, why didn't I think of that? So my long time colleague Mark Warner has a nice twi...
6
07-04-2016 18:23:10 Gerard Davison Advanced
Lambda of Lambda, if/else from an Optional
So I got frustrated with two limitations of the Optional interface in JDK 8. The first problem is that there is no obvious way to perform an...
4
10-03-2016 11:34:39 Gerard Davison Advanced
Getting hold of an un-used port when writing a test
A really quick post today, I was writing a unit test that needed to put up a temporary JAX-RS resource in order to test something very speci...
4
02-03-2016 18:23:21 Gerard Davison Advanced
Removing multiple items from a JavaScript array, no for loops
So I was reviewing some code today that was using two for loops to remove elements from a JavaScript array, I won't relate the code here but...
6
20-01-2016 17:03:56 Gerard Davison Advanced
Beware of slightly different behaviour between ConcurrentMap and ConcurrentHashMap for computeIfAbsent
So I was refactoring some code to use non-locking collection classes and I noticed the this significant different between ConcurrentMap.comp...
6
12-01-2016 16:24:20 Gerard Davison Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.