1.1 --- a/src/share/classes/com/sun/tools/javap/JavapTask.java Tue Feb 12 11:28:45 2013 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javap/JavapTask.java Tue Feb 12 13:36:56 2013 +0000 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -362,7 +362,8 @@ 1.11 } 1.12 1.13 try { 1.14 - handleOptions(options, false); 1.15 + if (options != null) 1.16 + handleOptions(options, false); 1.17 } catch (BadArgs e) { 1.18 throw new IllegalArgumentException(e.getMessage()); 1.19 }