Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Illegal reflective access operation: Java 11 warning on airsonic start #1297

Closed
jooola opened this issue Oct 9, 2019 · 4 comments
Closed
Labels
in: UNKNOWN-backend The problem location has not been identified yet.

Comments

@jooola
Copy link
Contributor

jooola commented Oct 9, 2019

Problem description

Java is raising a warning on airsonic start.

Steps to reproduce

  1. Install airsonic as standalone package
  2. Start airsonic

System information

  • Airsonic version: 10.4.0
  • Operating system: Debian Buster 10
  • Java version: OpenJDK 11 JRE

Additional notes

Here is what Java says:

Oct 09 16:06:39 audio-auk java[26817]: WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/opt/airsonic/airsonic.war!/WEB-INF/
Oct 09 16:06:39 audio-auk java[26817]: WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
Oct 09 16:06:39 audio-auk java[26817]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Oct 09 16:06:39 audio-auk java[26817]: WARNING: All illegal access operations will be denied in a future release
@jooola jooola added the in: UNKNOWN-backend The problem location has not been identified yet. label Oct 9, 2019
@jooola
Copy link
Contributor Author

jooola commented Oct 9, 2019

spring-projects/spring-framework#22674
This is what I found, seems spring needs to be upgraded.

@muff1nman
Copy link
Contributor

Will be remedied when we upgrade to spring 2.x which is in progress.

@stale
Copy link

stale bot commented Jan 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale This label will be removed soon label Jan 13, 2020
@eharris eharris added the neverstale This label will be removed soon label Feb 27, 2020
@stale stale bot removed the stale This label will be removed soon label Feb 27, 2020
@eharris
Copy link
Contributor

eharris commented Feb 27, 2020

I believe this has been fixed, as I recently upgraded to Java 11 and do not get this error from that component with current master.

@eharris eharris closed this as completed Feb 27, 2020
@eharris eharris removed the neverstale This label will be removed soon label Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in: UNKNOWN-backend The problem location has not been identified yet.
Projects
None yet
Development

No branches or pull requests

3 participants