File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
src/tck/java/org/truffleruby/tck Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 357
357
},
358
358
359
359
"org.truffleruby.tck" : {
360
- "testProject" : True ,
361
360
"dir" : "src/tck" ,
362
361
"sourceDirs" : ["java" , "ruby" ],
363
362
"dependencies" : ["truffle:TRUFFLE_TCK" ],
830
829
},
831
830
832
831
"TRUFFLERUBY-TCK" : {
833
- "testDistribution" : True ,
834
832
"dependencies" : ["org.truffleruby.tck" ],
835
- "distDependencies" : ["truffle:TRUFFLE_TCK" ],
833
+ "distDependencies" : [
834
+ "truffle:TRUFFLE_TCK" ,
835
+ # runtime-only dependencies
836
+ "TRUFFLERUBY" ,
837
+ ],
838
+ "description" : "Truffle TCK provider for Ruby language." ,
836
839
"license" : ["EPL-2.0" ],
837
- "maven" : False ,
840
+ "maven" : {
841
+ "artifactId" : "ruby-truffle-tck" ,
842
+ "tag" : ["default" , "public" ],
843
+ },
844
+ "noMavenJavadoc" : True ,
838
845
},
839
846
},
840
847
}
Original file line number Diff line number Diff line change 32
32
import java .io .InputStream ;
33
33
import java .io .InputStreamReader ;
34
34
import java .io .Reader ;
35
+ import java .nio .charset .StandardCharsets ;
35
36
import java .util .ArrayList ;
36
37
import java .util .Collection ;
37
38
import java .util .Collections ;
@@ -286,7 +287,7 @@ private Source getSource(String path) {
286
287
throw new FileNotFoundException (path );
287
288
}
288
289
289
- final Reader reader = new InputStreamReader (stream );
290
+ final Reader reader = new InputStreamReader (stream , StandardCharsets . UTF_8 );
290
291
return Source .newBuilder (getId (), reader , new File (path ).getName ()).build ();
291
292
} catch (IOException e ) {
292
293
throw new Error (e );
You can’t perform that action at this time.
0 commit comments