Current trunk does not build : parser-generated code causes issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stado |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
A fresh checkout of trunk currently does not build:
After doing a
ant buildparser
I build with
ant
The following output occurs:
[lpmike@dredd trunk]$ ant
Buildfile: /home/lpmike/
all:
prepare:
[mkdir] Created dir: /home/lpmike/
[mkdir] Created dir: /home/lpmike/
[mkdir] Created dir: /home/lpmike/
compile:
[javac] Compiling 123 source files to /home/lpmike/
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 960 source files to /home/lpmike/
[javac] /home/lpmike/
[javac] catch(java.
[javac] ^
[javac] /home/lpmike/
[javac] private final int jjMoveNfa_0(int startState, int curPos)
[javac] ^
[javac] Note: /home/lpmike/
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
BUILD FAILED
/home/lpmike/
/home/lpmike/
Total time: 35 seconds
The problem seems to stem from the fix applied for TIMESTAMP WITH TIME ZONE bug #872215
https:/
Once I removed the TIMESTAMP WITH TIMEZONE parsing changes, I was able to build again.
description: | updated |
Changed in stado: | |
status: | New → In Progress |
Changed in stado: | |
status: | In Progress → Fix Committed |
What version of the JDK are you using? The Stado grammar is right on the edge of where the file produced by javacc is larger than the 64K limit of Java.