diff options
author | Ken Mc Neill <[email protected]> | 2009-12-21 13:55:47 +0000 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2011-12-31 15:05:28 -0800 |
commit | 77acd6a439dbea92ec829643ef3f9597a15072fc (patch) | |
tree | 02ced6d14f3dfe7955aae3e81deccdbeaace06af | |
parent | f4bc35d44fab522dfdf616a9003eda8f024b4ec9 (diff) |
j3dutils: cherry-pick fix from svn trunk issue 587
Issue number: 587
Obtained from:
Submitted by: mcneillk
Reviewed by:
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@199 9497e636-51bd-65ba-982d-a4982e1767a5
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFileParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFileParser.java b/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFileParser.java index bc44d7c..4209ff1 100644 --- a/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFileParser.java +++ b/src/classes/share/com/sun/j3d/loaders/objectfile/ObjectFileParser.java @@ -141,7 +141,7 @@ class ObjectFileParser extends StreamTokenizer { * We're already at the end of a line */ void skipToNextLine() throws ParsingErrorException { - while (ttype != TT_EOL) { + while (ttype != TT_EOL && ttype != -1 /* issue 587*/) { getToken(); } } // end of skipToNextLine |