Comments (5)
Thanks, can you propose a pull request for this? This has come up a few times, but haven't gotten a complete patch for it.
See #9635 and #9602. Based on discussion there, it looks like there are two sites to fix for this.
from gwt.
Hello,
I fix the bug on a local cloned repository with three modifications (once the first exception is fixed there are still two others.).
The report is produced on my project without exception (more than 3000 java classes with 60 split points).
The StoryRecorder code is quite confused, the correction should be validated by the author of the code.
Here the three corrections:
Line 172:
// Infer dependency information
while (!dependencyScope.isEmpty() && !dependencyScope.peek().range.contains(range)) {
/*
* Pop frames until we get back to a container, using this as a chance
* to build up our list of non-overlapping Ranges to report back to the
* user.
*/
popAndRecord(dependencyScope, fragment);
}
Line 272 (StringIndexOutOfBoundsException) :
SizeMapRecorder.escapeXml(jsCode, start, Math.min(end,jsCode.length()), false, builder);
Line 300 (EmptyStackException) :
if (lastEnd < toStore.getStart() && !dependencyScope.isEmpty()) {
from gwt.
The original authors are no longer involved with this project, so we're relying on community members who take the time to find and understand a bug, and propose a fix. Standard github pull requests can be used to submit fixes, and we can help run tests etc to confirm the fix.
As an aside, a huge number of split points often comes with the symptom that many of those split points do not remove very much code - yet still add a substantial amount to the build time.
from gwt.
I don't have write permissions on the project
from gwt.
Correct. You need to fork the project, push a branch with your changes, and create a pull request.
from gwt.
Related Issues (20)
- Java 9 BigInteger constructors with offset/length params missing HOT 4
- RequestFactory tests fails under java 21 due to changes in the List API
- GWT release with Jetty 11.x HOT 2
- Remove general usage of Window `unload` event
- Explore options to update `long` emulation
- Enum and Enum[] can't be received on Java 21
- Properties defined with JsProperty are not enumerable, do not work with spread operator HOT 1
- java.io.Reader.read(char[] buf/char[] buf, int off, int len) must throw IOException
- GWT compile errors when trying to build with GWT 2.10 or 2.11 HOT 14
- Finish removing deprecated SynchronousFragmentLoadCallback
- Explore eagerly initializing selected classes HOT 2
- GWT 2.12 deprecations/removals HOT 1
- Can't set UNNECESSARY roundingMode HOT 3
- Error on compile Java 8 - GWT 2.11 HOT 3
- Optimize out casts that must succeed
- Compile error - GWT Google Web Toolkit (2.10.0, 2.10.1, 2.11.0) on java17. HOT 13
- SerializableThrowable does not handle suppressed exceptions
- StackTraceDeobfuscator sometimes produces total nonsense HOT 5
- Regression in jsinterop varargs causing internal compiler error HOT 3
- Tutorial: webAppCreator deprecated but necessary for tutorials HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt.