You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2014/02/23 13:07:19 UTC
[jira] [Updated] (LUCENE-4582) Fobidden API checker does not work
with recent JDK 8 builds
[ https://issues.apache.org/jira/browse/LUCENE-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-4582:
----------------------------------
Labels: Java8 (was: )
> 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
> Affects Versions: 4.0, 4.1, 5.0
> Environment: JDK 8 build 65
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Labels: Java8
> Attachments: LUCENE-4582-workaround.patch, LUCENE-4582-workaround.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org