langtools/src/share/classes/com/sun/tools/javap/JavapTask.java
changeset 15716 d1f59adb0d83
parent 14801 d66cab4ef397
child 16291 d4249734ecd8
--- a/langtools/src/share/classes/com/sun/tools/javap/JavapTask.java	Tue Feb 12 11:28:45 2013 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javap/JavapTask.java	Tue Feb 12 13:36:56 2013 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -362,7 +362,8 @@
         }
 
         try {
-            handleOptions(options, false);
+            if (options != null)
+                handleOptions(options, false);
         } catch (BadArgs e) {
             throw new IllegalArgumentException(e.getMessage());
         }