1.1 --- a/src/share/classes/com/sun/tools/javadoc/SerialFieldTagImpl.java Thu Jun 30 14:33:45 2011 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javadoc/SerialFieldTagImpl.java Fri Jul 01 13:34:37 2011 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2011, 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 @@ -80,6 +80,9 @@ 1.11 */ 1.12 private void parseSerialFieldString() { 1.13 int len = text.length(); 1.14 + if (len == 0) { 1.15 + return; 1.16 + } 1.17 1.18 // if no white space found 1.19 /* Skip white space. */