Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update StoryRecorder.java #9808

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Update StoryRecorder.java #9808

merged 1 commit into from
Apr 8, 2023

Conversation

DRAWSVG
Copy link
Contributor

@DRAWSVG DRAWSVG commented Mar 14, 2023

Fixes #9635
Fixes #9602
Fixes #9804

@zbynek
Copy link
Contributor

zbynek commented Mar 17, 2023

@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

@@ -351,7 +348,9 @@ private void recordStory(SourceInfo info, int fragment, int length, Range range)
theStory = new StoryImpl(storyCache.get(info), length);
}

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

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
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
Contributor

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
Copy link
Contributor

zbynek commented Mar 24, 2023

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
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
Copy link
Contributor Author

DRAWSVG commented Mar 27, 2023

So you can merge it

@niloc132
Copy link
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