GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • CodeQL documentation
  • CodeQL overview
  • Writing CodeQL queries
  • CodeQL language guides
  • QL language reference
  • CodeQL standard-libraries
  • CodeQL query help
  • CodeQL repository
  • QL publications
  • CodeQL query help for C and C++
  • CodeQL query help for C#
  • CodeQL query help for GitHub Actions
  • CodeQL query help for Go
  • CodeQL query help for Java and Kotlin

This view

  • Original page
  • New address

GeezerVison is showing codeql.github.com — Access to unsupported JDK-internal API — CodeQL query help documentation

Access to unsupported JDK-internal API¶

ID: java/jdk-internal-api-access
Kind: problem
Security severity: 
Severity: recommendation
Precision: high
Tags:
   - quality
   - maintainability
   - readability
Query suites:
   - java-code-quality.qls
   - java-security-and-quality.qls

Click to see the query in the CodeQL repository

Java 9 removes access to various unsupported JDK-internal APIs by default.

Recommendation¶

Examine the use of unsupported JDK-internal APIs and consider replacing them with supported APIs as recommended in the references.

References¶

  • Oracle JDK Documentation: Oracle JDK 9 Migration Guide.

  • OpenJDK Documentation: Java Dependency Analysis Tool, JEP 260: Encapsulate Most Internal APIs, JEP 261: Module System.

  • © GitHub, Inc.
  • Terms
  • Privacy
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.