-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@SuppressModernizer not applicable to type use #155
Comments
I could maybe use the exclusions tag, but what the heck is a javap format: java/lang/String.getBytes:(Ljava/lang/String;)[B supposed to mean I dont know. Can you include a couple of examples? Presumably most people using this plugin have no knowledge of bytecode internals. |
@stevegutz could you add support for @delanym this mangled name is unusual but unambiguous. If you run your class file through |
Hi, my org is using error-prone instead of modernizer so I'm not going to be contributing any more. |
@gaul Perhaps the first step is to add ElementType.TYPE_USE, which should be easy if annotations were bumped to 1.8 or if it were a multi-release jar. |
I'm not too sure what the current minimum version is but JDK 6 used to work. I am happy to declare Java 8 the new minimum so Modernizer can access |
Yes, PR coming out in a few minutes. |
#171 , but it also touches definitions -- sun.misc.BASE64Decoder/Encoder no longer exist. |
Missed the release :( |
Just to be clear there is no fix provided. There is an open linked PR with no explanation for what it does. |
I still don't understand if this is possible to fix. https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.6.4.2 says:
|
I'm unable to suppress the StringBuffer to StringBuilder recommentation:
If I say
I get
The text was updated successfully, but these errors were encountered: