JaxMe
  1. JaxMe
  2. JAXME-106

jaxmejs does not work for comment after class definition block

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.5
    • Fix Version/s: None
    • Component/s: JaxMeJS
    • Labels:
      None

      Description

      1. jaxmejs does not work for a class definition like this where there is a comment at the end of file:

      public class Foo {} //bar

      eventually, jvm fails with oom:
      Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
      at antlr.ANTLRStringBuffer.append(ANTLRStringBuffer.java:36)
      at antlr.CharScanner.append(CharScanner.java:64)
      at antlr.CharScanner.consume(CharScanner.java:82)
      at antlr.CharScanner.match(CharScanner.java:205)
      at org.apache.ws.jaxme.js.jparser.JavaLexer.mSL_COMMENT(JavaLexer.java:1072)
      at org.apache.ws.jaxme.js.jparser.JavaLexer.nextToken(JavaLexer.java:331)
      at antlr.TokenBuffer.fill(TokenBuffer.java:69)
      at antlr.TokenBuffer.LA(TokenBuffer.java:80)
      at antlr.LLkParser.LA(LLkParser.java:52)
      at org.apache.ws.jaxme.js.jparser.JavaRecognizer.compilationUnit(JavaRecognizer.java:276)
      at org.apache.ws.jaxme.js.util.JavaParser.parse(JavaParser.java:107)
      at org.apache.ws.jaxme.js.util.JavaParser.parse(JavaParser.java:82)
      at org.apache.ws.jaxme.js.util.JavaParser.parse(JavaParser.java:74)

      2. can you release a new version of jaxme (or jaxmejs)?
      The version on apache site ( http://ws.apache.org/jaxme/downloads.cgi ) does not have some patches.

      3. do you know a tool similar to jaxmejs but with more active development?

      thanks

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            jaxmeuser jaxmeuser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development