[ 
https://issues.apache.org/jira/browse/LUCENE-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610474#comment-13610474
 ] 

Commit Tag Bot commented on LUCENE-4582:
----------------------------------------

[branch_4x commit] Uwe Schindler
http://svn.apache.org/viewvc?view=revision&revision=1416072

Merged revision(s) 1416071 from lucene/dev/trunk:
LUCENE-4582: Better detection of incompatible Java version for forbidden-apis 
checker. Later updates of ASM will support Java 8, but when Java 9 comes out 
with again a new class file format, we can handle this.

                
> 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
>         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 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]

Reply via email to