Initial proof of concept for implementation of -Xlint:hiddenclass (original) (raw)
Remi Forax forax at univ-mlv.fr
Thu Sep 20 08:00:48 PDT 2012
- Previous message: Initial proof of concept for implementation of -Xlint:hiddenclass
- Next message: Initial proof of concept for implementation of -Xlint:hiddenclass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/20/2012 04:37 PM, Maurizio Cimadamore wrote:
On 20/09/12 14:21, Remi Forax wrote:
I think the check in ClassReader should be improved a little to take care of languages that are not Java but compile to .class, i.e. allow className.* Does the notion of auxiliary class files even applies to non-Java languages?
of course not
I expect most of the classes generated by non-Java language targeting the JVM to generate lots of synthetic cruft.
Far less now since they all (cough cough) use invokedynamic.
I maybe wrong but the code proposed by Fredrik in ClassReader will flag all classes that are not issued from a .java file as auxiliary classes. At least, a class with a filename that doesn't end with '.java' should not be tagged as auxiliary.
Maurizio
cheers, Rémi
- Previous message: Initial proof of concept for implementation of -Xlint:hiddenclass
- Next message: Initial proof of concept for implementation of -Xlint:hiddenclass
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]