Skip to content

Instantly share code, notes, and snippets.

@mplacona
Created July 28, 2012 22:09
Show Gist options
  • Save mplacona/3194981 to your computer and use it in GitHub Desktop.
Save mplacona/3194981 to your computer and use it in GitHub Desktop.
ColdFusion (Java null)
// Returns a Java null from ColdFusion
function createJavaNull(){
var vector = CreateObject("java", "java.util.Vector");
vector.setSize(1);
return vector.get(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment