Skip to content

Update StoryRecorder.java - #9808

Merged
niloc132 merged 1 commit into
gwtproject:mainfrom
DRAWSVG:issue-9804
Apr 8, 2023
Merged

niloc132 merged 1 commit into
gwtproject:mainfrom
DRAWSVG:issue-9804

Conversation

@DRAWSVG

@DRAWSVG DRAWSVG commented Mar 14, 2023 •

Copy link
Copy Markdown
Contributor

Fixes #9635
Fixes #9602
Fixes #9804

@zbynek

zbynek commented Mar 17, 2023

Copy link
Copy Markdown
Collaborator

@DRAWSVG can you please update the initial comment of the PR -- remove th default text and include the relevant links e.g.
Fixes #9635
Fixes #9602
Fixes #9804

}

emitStory(theStory, range);
if (range.getStart() < js[curHighestFragment].length()) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the check start < length was added outside of emitStory, check that end <= length was added inside that method -- maybe both checks should be in one place -- inside emitStory.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think so.
It seems that the value of the end of range property is wrong.
The call to emitStory must be kept to get the description of the story.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, feel free to disregard

@zbynek zbynek mentioned this pull request Mar 17, 2023
@zbynek

zbynek commented Mar 24, 2023

Copy link
Copy Markdown
Collaborator

With the patch applied I was able to verify that there are no more exceptions in console and detailedStories0.xml.gz is a complete XML file (before it was cut short because of the exception).

@DRAWSVG DRAWSVG closed this Mar 27, 2023
@niloc132

Copy link
Copy Markdown
Member

@DRAWSVG This hasn't been merged yet, I closed the other as it was incomplete compared to this. This pull request is waiting for your reply or update in response to zbynek's comment at #9808 (comment).

Unless you are abandoning this change, please reopen it.

@DRAWSVG DRAWSVG reopened this Mar 27, 2023
@DRAWSVG

DRAWSVG commented Mar 27, 2023

Copy link
Copy Markdown
Contributor Author

So you can merge it

@niloc132

Copy link
Copy Markdown
Member

Please take a look at #9808 (comment) to see if it makes sense to either make the suggested change, or reply to explain why we should skip that.

@niloc132
niloc132 merged commit 9a35798 into gwtproject:main Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CompileReport exception StackEmptyException in StoryRecorder.java Compiler crashes with -XsoycDetailed

3 participants