Building JBox2D from source: compilation error

I'm trying to build JBox2D from source. I've checked out the latest code from the google code repo, but I'm getting a complier error in the serialization project: org.jbox2d.serialization.pb.PbDeserializer:250:

Quote:
case POLYGON:
PolygonShape p = new PolygonShape();
p.m_centroid.set(pbToVec(s.getCentroid()));
p.m_radius = s.getRadius();
p.m_vertexCount = s.getPointsCount(); // on this line because m_vertexCount doesn't exist.
for (int i = 0; i < p.m_vertexCount; i++) {
p.m_vertices[i].set(pbToVec(s.getPoints(i)));
p.m_normals[i].set(pbToVec(s.getNormals(i)));
}
shape = p;
break;


Any ideas how to fix this?

Thanks
Charlie
try GetVertexCount()
No this isn't my code. This is the code that is checked into the repository. It doesn't compile. I've found several fixes to these problems. I turned out there were other complier errors as well. I'm mainly asking if the author was aware of these issues? And would you like a patch to fix them?
This is a bit of a rocky time in the trunk as I'm trying to mass-update the codebase to 2.3.0. This should be fixed, but I wouldn't use trunk builds until I make an announcement about it. I would recommend joining the jbox2d google group here

edit: I just did a 2.1.2.2 snapshot release if you're interested.
Ok thanks for maintaining this great project. I just wanted to run the testbed code to see the simulations and ran into this problem. Can't wait for 2.3.0. Thanks.

Original thread: https://box2d.org/forum/viewtopic.php?t=8054