[ 
https://issues.apache.org/jira/browse/CASSANDRA-18262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17706095#comment-17706095
 ] 

Maxim Muzafarov commented on CASSANDRA-18262:
---------------------------------------------

I have noticed that for j8 the build has failed with an error below, however, 
the checkstyle seems to be passed.

{code}
checkstyle-test:
[checkstyle] Running Checkstyle 9.3 on 1547 files

build-test:

_build-test:
    [javac] Compiling 1546 source files to 
/home/cassandra/cassandra/build/test/classes
    [javac] Note: Processing compiler hints annotations
    [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] 
    [javac] 
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: GC overhead limit exceeded
    [javac]     at com.sun.tools.javac.util.Name.append(Name.java:88)
    [javac]     at 
com.sun.tools.javac.code.Symbol$TypeSymbol.formFullName(Symbol.java:687)
    [javac]     at 
com.sun.tools.javac.code.Symbol$ClassSymbol.<init>(Symbol.java:950)

BUILD FAILED
/home/cassandra/cassandra/build.xml:1002: The following error occurred while 
executing this line:
/home/cassandra/cassandra/build.xml:1015: Error starting modern compiler

Total time: 4 minutes 12 seconds
{code}



> Switch checkstyle running only with JDK8 to be run with JDK11
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-18262
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18262
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently we run checkstyle, eclipse warnings (and probably anything else?) 
> only with JDK8.
> In preparation to remove JDK8 we need to switch those to run with JDK11.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to