Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
Java:packages
qdox
Port-to-JFlex-1.7.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Port-to-JFlex-1.7.0.patch of Package qdox
+++ qdox-2.0.1/src/grammar/lexer.flex 2022-03-12 07:00:33.182053962 +0100 @@ -173,7 +173,7 @@ } public JFlexLexer( java.io.InputStream stream, java.io.Writer writer ) { - this( stream ); + this( new java.io.InputStreamReader( stream, java.nio.charset.Charset.forName( "UTF-8" ) ) ); this.writer = writer; } --- qdox-2.0.1/src/main/java/com/thoughtworks/qdox/library/ClassLoaderLibrary.java 2021-11-13 15:25:20.000000000 +0100 +++ qdox-2.0.1/src/main/java/com/thoughtworks/qdox/library/ClassLoaderLibrary.java 2022-03-12 07:00:33.182053962 +0100 @@ -112,7 +112,7 @@ if ( sourceStream != null ) { Builder builder = getModelBuilder(); - JavaLexer lexer = new JFlexLexer( sourceStream ); + JavaLexer lexer = new JFlexLexer( new java.io.InputStreamReader( sourceStream, java.nio.charset.Charset.forName( "UTF-8" ) ) ); Parser parser = new Parser( lexer, builder ); parser.setDebugLexer( debugLexer ); parser.setDebugParser( debugParser );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor