[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: Proper way to scan all classes inside application/war files
From:       Remi Forax <forax () univ-mlv ! fr>
Date:       2019-04-18 22:54:24
Message-ID: 1815310213.32448.1555628064375.JavaMail.zimbra () u-pem ! fr
[Download RAW message or body]

Hi Sundara,
wrong mailing list :)

It's an issue for the "jigsaw-dev" mailing list.

regards,
Rémi

----- Mail original -----
> De: "Sundara Mohan M" <m.sundar85@gmail.com>
> À: "hotspot-runtime-dev" <hotspot-runtime-dev@openjdk.java.net>
> Envoyé: Vendredi 19 Avril 2019 00:20:53
> Objet: Proper way to scan all classes inside application/war files

> Hi,
>   I was scanning all classes (to find all annotated class) using the
> URLClassLoader.getUrls() methods to find all URL and find it with JDK8.
> Since JDK9 onwards all App/System Class loaders are not deriving from
> URLClassLoader it doesn't work anymore. (solution of making ucp variable
> inside BuiltinClassLoader accesible and reading URLs works).
> 
> What is the proper way to scan all(AppClassLoader + any other class loader)
> classes?
> 
> Any pointers on this will be helpful.
> 
> 
> Thanks
> Sundar
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic