ws-jaxme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jaxmeuser jaxmeuser (JIRA)" <jaxme-...@ws.apache.org>
Subject [jira] Created: (JAXME-106) jaxmejs does not work for comment after class definition block
Date Sun, 26 Sep 2010 07:38:33 GMT
jaxmejs does not work for comment after class definition block 
---------------------------------------------------------------

                 Key: JAXME-106
                 URL: https://issues.apache.org/jira/browse/JAXME-106
             Project: JaxMe
          Issue Type: Bug
          Components: JaxMeJS
    Affects Versions: 0.5
            Reporter: jaxmeuser jaxmeuser


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Mime
View raw message