JDK-7197401 : Add a subset of the org.objectweb.asm packages to jdk8
  • Type: Enhancement
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-09-10
  • Updated: 2013-02-20
  • Resolved: 2012-10-20
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.

To download the current JDK release, click here.
JDK 8
8 betaFixed
Related Reports
Relates :  
Description
The lambda project needs several packages from ASM to be added to the jdk.  See
   http://asm.ow2.org/
for info on ASM.

The following packages from ASM 4.0 will be added:

   org.objectweb.asm
   org.objectweb.asm.commons
   org.objectweb.asm.signature        -- needed by a few files in commons and util
   org.objectweb.asm.tree
   org.objectweb.asm.tree.analysis    -- needed by some files in util
   org.objectweb.asm.util 

These packages are intended only for internal use in the jdk. As such:
- their names will be prefixed with
          jdk.internal
- they will not be in ct.sym so that by default, javac will disallow access to them
- they will be treated like other JDK internal classes wrt security

Comments
The LGPL with Classpath exception was added to the beginning of the asm files, but the Oracle Copyright was not, since this is not a derivative work.
20-10-2012

EVALUATION Lambda needs it.
22-09-2012

SUGGESTED FIX Add the files from ASM svn rev 1888 which corresponds to ASM release 4.0. You can see rev 1588 here: http://websvn.ow2.org/log.php?repname=asm&path=%2F&isdir=1&peg=1643&sr=1643&er=1&max=100&search=&all=1 These changes will be made to the ASM files: - prefix org.objectweb.asm pkg names with jdk.internal. eg jdk.internal.org.objectweb.asm - remove trailing whitespace - replace tabs with blanks - add missing newlines at end of files - delete ^M characters at end of lines
22-09-2012