Uwe Schindler created LUCENE-4582:
-------------------------------------
Summary: Fobidden API checker does not work with recent JDK 8
builds
Key: LUCENE-4582
URL: https://issues.apache.org/jira/browse/LUCENE-4582
Project: Lucene - Core
Issue Type: Bug
Components: general/build
Environment: JDK 8 build 65
Reporter: Uwe Schindler
Assignee: Uwe Schindler
Fix For: 4.1, 5.0
The forbidden API checker currently uses ASM 4.0 to do checks for calls to
APIs, the Lucene developers don't like (those with default charsets).
The Lucene classes are of course compiled with old (JDK 1.6) class file format,
but the checker has to load also classes from rt.jar, shipped with the JDK.
Unfortunately JDK 8 build 65 changed the class format (new version is 52.0), so
the checker fails with an IllegalArgumentException while loading platform
classes; see [their bug
tracker|http://forge.ow2.org/tracker/index.php?func=detail&aid=316375&group_id=23&atid=350023].
The bug is not yet fixed in ASM 4.0 or 4.1, so I will disable the forbidden API
checker in JDK 8 (until an update is released). I will keep this issue open
until this is solved.
I will also commit an update to version 4.1 of ASM.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]