Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Version 3.1.0
-
None
-
None
Description
Is there a dead loop in the exit() method of class org.apache.xmlbeans.impl.store.Locale?
public void exit()
{ // assert _numTempFramesLeft >= 0; //asserts computed frame fits between //0 and _tempFrames.length assert _numTempFramesLeft >= 0 && (_numTempFramesLeft <= _tempFrames.length - 1): " Temp frames mismanaged. Impossible stack frame. Unsynchronized: " + noSync(); int frame = _tempFrames.length - ++_numTempFramesLeft; while (_tempFrames[frame] != null) _tempFrames[frame].release(); } The process(String[], String[], boolean, boolean, boolean) method of class
org.apache.xmlbeans.impl.tool.BaseSchemaResourceManager has a bug. Here's the code snippet for the fix:
for (int i = 0; i < filenames.length; i++)
In the class org.apache.xmlbeans.impl.tool.SchemaCodeGenerator, does that thread not need to be started in the tryToDeleteLater(File) method?