Sachin Handiekar
Sachin Handiekar's Blog

Sachin Handiekar's Blog

Follow
Follow
homebadgesnewsletter

Java 8 - Comparator Example

Jun 1, 20191 min read

A code example showing the use of Comparator in Java 8 using Comparator.comparing method. public class Student { private String name; private...

Java 8 - Comparator Example

Java 9 : Immutable Collections using of() and copyOf()

Jun 1, 20191 min read

In this tutorial we will see how we can use of() and copyOf() factory methods in Java 9 to create immutable collections. Project Setup JDK...

Java 9 : Immutable Collections using of() and copyOf()

JVMTI – Get System Properties

Jun 1, 20192 min read

In this post we will see how we can use the JVMTI GetSystemProperties to get a list of system properties. ```cpp{numberLines: true} #include...

JVMTI – Get System Properties

Enable Access Logs in jBoss Portal / EAP 6

Sep 30, 20151 min read

In jBoss Portal 6.1 / jBoss EAP 6, the access logs can be enabled by adding element inside the virtual-server (web subsystem) in...

Enable Access Logs in jBoss Portal / EAP 6

Simple JVMTI Agent – Windows / MinGW

Sep 30, 20151 min read

A simple JVMTI agent in Windows using MinGW/Cygwin. #include <jvmti.h> #include <stdio.h> JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *jvm, char...

Simple JVMTI Agent – Windows / MinGW

Conditionally ignoring tests in JUnit

Sep 23, 20151 min read

We might require to ignore a jUnit test based on a certain condition. jUnit just comes up with a @Ignore annotation which can be used to ignore the...

Conditionally ignoring tests in JUnit