Source: intellij-idea-community
Severity: normal
Tags: ftbfs
User: [email protected]
Usertags: default-java25

Dear Maintainer,

The package fails to build with default Java 25. The relevant part of the build
log:

                                                 ^
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/util/text/ImmutableText.java:321:
error: getChars(int,int,char[],int) in Node cannot implement
getChars(int,int,char[],int) in CharSequence
    abstract void getChars(int start, int end, @NotNull char[] dest, int
destPos);
                  ^
  attempting to assign weaker access privileges; was public
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/util/text/ImmutableText.java:336:
error: getChars(int,int,char[],int) in Node cannot implement
getChars(int,int,char[],int) in CharSequence
  private abstract static class LeafNode extends Node {
                          ^
  attempting to assign weaker access privileges; was public
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/util/text/ImmutableText.java:386:
error: getChars(int,int,char[],int) in WideLeafNode cannot implement
getChars(int,int,char[],int) in CharSequence
    void getChars(int start, int end, @NotNull char[] dest, int destPos) {
         ^
  attempting to assign weaker access privileges; was public
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/util/text/ImmutableText.java:425:
error: getChars(int,int,char[],int) in Leaf8BitNode cannot implement
getChars(int,int,char[],int) in CharSequence
    void getChars(int start, int end, @NotNull char[] dest, int destPos) {
         ^
  attempting to assign weaker access privileges; was public
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/util/text/ImmutableText.java:502:
error: getChars(int,int,char[],int) in CompositeNode cannot implement
getChars(int,int,char[],int) in CharSequence
    void getChars(int start, int end, @NotNull char[] dest, int destPos) {
         ^
  attempting to assign weaker access privileges; was public
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/openapi/util/objectTree/ThrowableInterner.java:76:
warning: [removal] objectFieldOffset(Field) in Unsafe has been deprecated and
marked for removal
      long firstFieldOffset =
AtomicFieldUpdater.getUnsafe().objectFieldOffset(firstField);
                                                            ^
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/openapi/util/objectTree/ThrowableInterner.java:80:
warning: [removal] getObject(Object,long) in Unsafe has been deprecated and
marked for removal
          || !(AtomicFieldUpdater.getUnsafe().getObject(new Throwable(),
(long)BACKTRACE_FIELD_OFFSET) instanceof Object[])) {
                                             ^
/build/intellij-community-idea-hjtGJf/intellij-community-
idea-183.5153.4/platform/util/src/com/intellij/openapi/util/objectTree/ThrowableInterner.java:95:
warning: [removal] getObject(Object,long) in Unsafe has been deprecated and
marked for removal
                  AtomicFieldUpdater.getUnsafe().getObject(throwable,
(long)BACKTRACE_FIELD_OFFSET);
                                                ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
84 warnings


-- System Information:
Debian Release: forky/sid
  APT prefers questing-updates
  APT policy: (500, 'questing-updates'), (500, 'questing-security'), (500, 
'questing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.0-7-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to