jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-835) Java 1.4 compile error in Eclipse
Date Mon, 09 Apr 2007 09:04:32 GMT

     [ https://issues.apache.org/jira/browse/JCR-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting resolved JCR-835.
-------------------------------

    Resolution: Fixed

Fixed in revision 526677 by replacing the ScorerFactory interface with an abstract
createScorer() factory method. The solutions are functionally equivalent, but this one
avoids the anonymous inner factory instances that were causing trouble to Eclipse.

> Java 1.4 compile error in Eclipse
> ---------------------------------
>
>                 Key: JCR-835
>                 URL: https://issues.apache.org/jira/browse/JCR-835
>             Project: Jackrabbit
>          Issue Type: Bug
>         Environment: Eclipse
>            Reporter: Jukka Zitting
>         Assigned To: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.3
>
>
> As reported by Ate Douma in JCR-804, the revision 520841 introduced code that causes
the Eclipse compiler to fail in Java 1.4 compliance mode. However, the same code compiles
with the Sun JDK 1.4.
> The problem is a enclosing class reference that an anonymous innner class instantiated
in the constructor of a named inner class contains. Apparently (and understandably), in Eclipse
1.4 complier the instance references are not yet available when evaluating the super() arguments
in the constructor.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message