JDK-8132436 : java.lang.instrument is using deprecated ASM APIs
Type:Bug
Component:core-svc
Sub-Component:java.lang.instrument
Affected Version:9
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2015-07-27
Updated:2016-04-21
Resolved:2016-03-24
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
java.lang.instrument appears to be using ASM and furthermore will use a deprecated API.
This is preemptive measure to make the upgrade of internal ASM to 5.0.5+.
Comments
We should fix JDK-8151056 (diffs to undo are included), once this is fixed.
02-03-2016
Re-assigning. It makes more sense to modify the code with the same push with the ASM 5.0.5 update.
18-08-2015
Can't you just update this one class with the replacement for RemappingMethodAdapter when you are going to check-in the ASM 5.0.5?
31-07-2015
Ok, ASM 5.0.5 hasn't been released yet. Just development builds are available.
In ASM 5.0.4 (the latest available public release) the RemappingMethodAdapter class is not deprecated and the MethodRemapper, which is supposed to be used instead of RemappingMethodAdapter, does not exist yet.
Updating ILW = H (broken build) L (requires non-released version of ASM) M (run without -Werror) = P3
29-07-2015
Right, there is catch-22, I think you need to make a patch available which I can test with ASM 5.0.5 and
I have to test a push the whole bundle.
I don't have any plans to update to 5.0.5 anytime soon.
29-07-2015
ILW=H (build is broken) H (happens every time) M (run without -Werror) = P1