Questions tagged [jdeps]

The Java Dependency Analysis Tool introduced in JDK 8, which provides information on what dependencies are used in a jar.

The Java Dependency Analysis Tool introduced in JDK 8, which provides information on what dependencies are used in a jar. Using the -jdkinternals flag, it is also used for detecting JDK internal APIs (e.g. sun.*) that are unsupported.

External Links:

64 questions
2
votes
1 answer

Get ByteCode (dependency) information from .class files through Java

I would like to analyse .class files and get information about which class uses which other class. jdeps is a command line tool which allows you to display some information in the console, but I would like to avoid calling an external tool and…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
2
votes
0 answers

Identify internal APIs used through reflection

I'm working on a legacy codebase, which was originally written in JDK 1.1.6. As a result there are a number of instances where internal JDK APIs are being used, especially in the RMI & Socket programming area. I need to identify and create a list of…
Curious Coder
  • 646
  • 8
  • 18
2
votes
1 answer

Find all transitive dependencies of Java Class including implementation classes used only via their interfaces

My aim is to list down all the transitive dependencies of the public API classes of my project and use that to focus testing effort in case of any code changes made to those dependencies. For example: class MyApi { MyDao md; public void…
ab2000
  • 364
  • 2
  • 8
2
votes
0 answers

Is there a command-line option to rename dotoutput file when executing jdeps for multiple JARs of the same name?

I use below command to run jdeps in the whole directory. But it seems to be overwriting dotoutput files if there is multiple JARs of the same name. find . -name '*.jar' -exec jdeps -dotoutput . -jdkinternals {} \;
Vasanth
  • 129
  • 9
2
votes
2 answers

How do I run maven-jdeps-plugin on a pom.xml?

In my pom.xml I've added the maven-jdeps-plugin: org.optaplanner optaplanner-examples ...
Geoffrey De Smet
  • 26,223
  • 11
  • 73
  • 120
1
vote
1 answer

SSl handshake issue when using AWS secretmanager for password store in RDS

We are using AWS RDS for for our persistent store and using secretmanager for password rotation and storage. It is also encrypted with KMS. We have a spring boot app which is deployed on ECS fargate and using following dependency :-