src/share/classes/com/sun/tools/javap/JavapTask.java

changeset 1561
073696f59241
parent 1442
fcf89720ae71
child 1578
040f02711b73
equal deleted inserted replaced
1560:973646bf043a 1561:073696f59241
1 /* 1 /*
2 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
360 classname.getClass(); // null-check 360 classname.getClass(); // null-check
361 this.classes.add(classname); 361 this.classes.add(classname);
362 } 362 }
363 363
364 try { 364 try {
365 handleOptions(options, false); 365 if (options != null)
366 handleOptions(options, false);
366 } catch (BadArgs e) { 367 } catch (BadArgs e) {
367 throw new IllegalArgumentException(e.getMessage()); 368 throw new IllegalArgumentException(e.getMessage());
368 } 369 }
369 } 370 }
370 371

mercurial