Public bug reported:

The package checker-framework-java ftbfs with default Java 25.
The relevant part of the build log:
---------------
All input files are considered out-of-date for incremental task 
':javacutil:compileJava'.
Compiling with JDK Java compiler API.
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:67:
 error: cannot find symbol
        ByteBuffer b1 = ByteBuffer.wrap(n1.getByteArray(), n1.getByteOffset(), 
n1.getByteLength());
                                          ^
  symbol:   method getByteArray()
  location: variable n1 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:67:
 error: cannot find symbol
        ByteBuffer b1 = ByteBuffer.wrap(n1.getByteArray(), n1.getByteOffset(), 
n1.getByteLength());
                                                             ^
  symbol:   method getByteOffset()
  location: variable n1 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:67:
 error: cannot find symbol
        ByteBuffer b1 = ByteBuffer.wrap(n1.getByteArray(), n1.getByteOffset(), 
n1.getByteLength());
                                                                                
 ^
  symbol:   method getByteLength()
  location: variable n1 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:68:
 error: cannot find symbol
        ByteBuffer b2 = ByteBuffer.wrap(n2.getByteArray(), n2.getByteOffset(), 
n2.getByteLength());
                                          ^
  symbol:   method getByteArray()
  location: variable n2 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:68:
 error: cannot find symbol
        ByteBuffer b2 = ByteBuffer.wrap(n2.getByteArray(), n2.getByteOffset(), 
n2.getByteLength());
                                                             ^
  symbol:   method getByteOffset()
  location: variable n2 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/TypeAnnotationUtils.java:68:
 error: cannot find symbol
        ByteBuffer b2 = ByteBuffer.wrap(n2.getByteArray(), n2.getByteOffset(), 
n2.getByteLength());
                                                                                
 ^
  symbol:   method getByteLength()
  location: variable n2 of type Name
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:163:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:195:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:229:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:257:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:275:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
/<<PKGBUILDDIR>>/javacutil/src/main/java/org/checkerframework/javacutil/Resolver.java:311:
 error: an enclosing instance that contains Log.DiscardDiagnosticHandler is 
required
        Log.DiagnosticHandler discardDiagnosticHandler = new 
Log.DiscardDiagnosticHandler(log);
                                                         ^
12 errors
:javacutil:compileJava FAILED
:javacutil:compileJava (Thread[#33,Daemon worker,5,main]) completed. Took 0.85 
secs.

---------------

** Affects: checker-framework-java (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: checker-framework-java (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #1128165
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128165

** Also affects: checker-framework-java (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128165
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142432

Title:
  checker-framework-java: FTBFS with default Java 25

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/checker-framework-java/+bug/2142432/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to