You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "iamaleksey (via GitHub)" <gi...@apache.org> on 2023/04/07 09:08:21 UTC

[GitHub] [cassandra] iamaleksey commented on pull request #2256: CASSANDRA-18344 Store PreAccept, Accept, Commit, and Apply in a durable log before processing by CommandStores

iamaleksey commented on PR #2256:
URL: https://github.com/apache/cassandra/pull/2256#issuecomment-1500098848

   > Build fails
   > 
   > ```
   > _build_java:
   >      [echo] Compiling for Java 1.8...
   >     [javac] Compiling 2327 source files to /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/build/classes/main
   >     [javac] Note: Processing compiler hints annotations
   >     [javac] Note: Processing compiler hints annotations
   >     [javac] Note: Writing compiler command file at META-INF/hotspot_compiler
   >     [javac] Note: Done processing compiler hints annotations
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/journal/ActiveSegment.java:96: error: incompatible types: Buffer cannot be converted to ByteBuffer
   >     [javac]         ByteBuffer duplicate = buffer.duplicate().position(offset).limit(buffer.capacity());
   >     [javac]                                                                         ^
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/journal/ActiveSegment.java:322: error: incompatible types: Buffer cannot be converted to ByteBuffer
   >     [javac]             return new Allocation(opGroup, buffer.duplicate().position(position).limit(position + totalSize));
   >     [javac]                                                                                       ^
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/journal/EntrySerializer.java:183: error: incompatible types: Buffer cannot be converted to ByteBuffer
   >     [javac]                            .limit(buffer.position());
   >     [javac]                                  ^
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/journal/StaticSegment.java:178: error: incompatible types: Buffer cannot be converted to ByteBuffer
   >     [javac]         ByteBuffer duplicate = buffer.duplicate().position(offset);
   >     [javac]                                                           ^
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/service/accord/AccordJournal.java:148: error: cannot infer type arguments for KeySupport<K>
   >     [javac]         static final KeySupport<Key> SUPPORT = new KeySupport<>()
   >     [javac]                                                              ^
   >     [javac]   reason: cannot use '<>' with anonymous inner classes
   >     [javac]   where K is a type-variable:
   >     [javac]     K extends Object declared in interface KeySupport
   >     [javac] /Users/dcapwell/src/github/apache/cassandra/prs/cep-15-accord/src/java/org/apache/cassandra/service/accord/AccordJournal.java:295: error: cannot infer type arguments for ValueSerializer<K,V>
   >     [javac]     static final ValueSerializer<Key, TxnRequest<?>> MESSAGE_SERIALIZER = new ValueSerializer<>()
   >     [javac]                                                                                              ^
   >     [javac]   reason: cannot use '<>' with anonymous inner classes
   >     [javac]   where K,V are type-variables:
   >     [javac]     K extends Object declared in interface ValueSerializer
   >     [javac]     V extends Object declared in interface ValueSerializer
   >     [javac] Note: Some input files use or override a deprecated API.
   >     [javac] Note: Recompile with -Xlint:deprecation for details.
   >     [javac] Note: Some input files use unchecked or unsafe operations.
   >     [javac] Note: Recompile with -Xlint:unchecked for details.
   >     [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
   >     [javac] 6 errors
   > 
   > BUILD FAILED
   > ```
   
   Fails when building with JDK8, yes. I was hoping we would've dropped JDK8 by now in trunk by the time any of this goes in. Building for language level 8 but with JDK11 locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org