Source: libexternalsortinginjava-java
Version: 0.6.1-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17


libexternalsortinginjava-java fails to build with OpenJDK 17, the tests make 
illegal
reflective accesses into java.base/java.lang:


  [INFO] -------------------------------------------------------
  [INFO]  T E S T S
  [INFO] -------------------------------------------------------
  [INFO] Running com.google.code.externalsorting.csv.CsvExternalSortTest
  [ERROR] Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.094 
s <<< FAILURE! - in com.google.code.externalsorting.csv.CsvExternalSortTest
  [ERROR] testNonLatin(com.google.code.externalsorting.csv.CsvExternalSortTest) 
 Time elapsed: 0.003 s  <<< ERROR!
  java.lang.reflect.InaccessibleObjectException: Unable to make field private 
static volatile java.nio.charset.Charset 
java.nio.charset.Charset.defaultCharset accessible: module java.base does not 
"opens java.nio.charset" to unnamed module @4cfaf581
          at 
com.google.code.externalsorting.csv.CsvExternalSortTest.testNonLatin(CsvExternalSortTest.java:75)
  
  [ERROR] testNonLatin(com.google.code.externalsorting.csv.CsvExternalSortTest) 
 Time elapsed: 0.003 s  <<< ERROR!
  java.lang.NullPointerException: Cannot invoke "java.io.File.exists()" because 
"this.outputfile" is null
          at 
com.google.code.externalsorting.csv.CsvExternalSortTest.onTearDown(CsvExternalSortTest.java:192)
  
  [INFO] Running com.google.code.externalsorting.ExternalSortTest
  #ignore = 67412000
  [performance] String size estimator uses 1.033203125 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.0146484375 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.0263671875 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.0263671875 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.39453125 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.5654296875 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.4736328125 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.462890625 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.0126953125 ns per string
  #ignore = 67412000
  [performance] String size estimator uses 1.017578125 ns per string
  java com.google.externalsorting.ExternalSort inputfile outputfile
  Flags are:
  -v or --verbose: verbose output
  -d or --distinct: prune duplicate lines
  -t or --maxtmpfiles (followed by an integer): specify an upper bound on the 
number of temporary files
  -c or --charset (followed by a charset code): specify the character set to 
use (for sorting)
  -z or --gzip: use compression for the temporary files
  -H or --header (followed by an integer): ignore the first few lines
  -s or --store (following by a path): where to store the temporary files
  -h or --help: display this message
  please provide input and output file names
  java com.google.externalsorting.ExternalSort inputfile outputfile
  Flags are:
  -v or --verbose: verbose output
  -d or --distinct: prune duplicate lines
  -t or --maxtmpfiles (followed by an integer): specify an upper bound on the 
number of temporary files
  -c or --charset (followed by a charset code): specify the character set to 
use (for sorting)
  -z or --gzip: use compression for the temporary files
  -H or --header (followed by an integer): ignore the first few lines
  -s or --store (following by a path): where to store the temporary files
  -h or --help: display this message
  please provide input and output file names
  java com.google.externalsorting.ExternalSort inputfile outputfile
  Flags are:
  -v or --verbose: verbose output
  -d or --distinct: prune duplicate lines
  -t or --maxtmpfiles (followed by an integer): specify an upper bound on the 
number of temporary files
  -c or --charset (followed by a charset code): specify the character set to 
use (for sorting)
  -z or --gzip: use compression for the temporary files
  -H or --header (followed by an integer): ignore the first few lines
  -s or --store (following by a path): where to store the temporary files
  -h or --help: display this message
  created 1 tmp files
  please provide input and output file names
  java com.google.externalsorting.ExternalSort inputfile outputfile
  Flags are:
  -v or --verbose: verbose output
  -d or --distinct: prune duplicate lines
  -t or --maxtmpfiles (followed by an integer): specify an upper bound on the 
number of temporary files
  -c or --charset (followed by a charset code): specify the character set to 
use (for sorting)
  -z or --gzip: use compression for the temporary files
  -H or --header (followed by an integer): ignore the first few lines
  -s or --store (following by a path): where to store the temporary files
  -h or --help: display this message
  [WARNING] Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 
0.156 s - in com.google.code.externalsorting.ExternalSortTest
  [INFO]
  [INFO] Results:
  [INFO]
  [ERROR] Errors:
  [ERROR] 
com.google.code.externalsorting.csv.CsvExternalSortTest.testNonLatin(com.google.code.externalsorting.csv.CsvExternalSortTest)
  [ERROR]   Run 1: CsvExternalSortTest.testNonLatin:75 ยป InaccessibleObject 
Unable to make field ...
  [ERROR]   Run 2: CsvExternalSortTest.onTearDown:192 NullPointer Cannot invoke 
"java.io.File.exi...
  [INFO]
  [INFO]
  [ERROR] Tests run: 18, Failures: 0, Errors: 1, Skipped: 1

Reply via email to