Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267522 - app-text/jabref-2.5_beta doesn't compile with java dev-java/sun-jdk-1.5.0.18
Summary: app-text/jabref-2.5_beta doesn't compile with java dev-java/sun-jdk-1.5.0.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 10:54 UTC by qqqqqqqqq9
Modified: 2009-04-26 11:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qqqqqqqqq9 2009-04-26 10:54:22 UTC
Hi,
As the title says app-text/jabref-2.5_beta doesn't compile with java dev-java/sun-jdk
1.5.0.18 and fails with (see below). 
After installing dev-java/sun-jdk-1.6.0.13 it compiled without problems.

thanks.



compile:
    [mkdir] Created dir: /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/build/classes
    [javac] Compiling 496 source files to /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/build/classes
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/net/URLDownload.java:12: cannot find symbol
    [javac] symbol  : class CookieManager                                                                                                
    [javac] location: package java.net                                                                                                   
    [javac] import java.net.CookieManager;                                                                                               
    [javac]                 ^                                                                                                            
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:309: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]             if (!month.isEmpty()) {                                                                                                     
    [javac]                   ^                                                                                                                     
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:317: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                     if (mm.group(3).isEmpty()) {                                                                                        
    [javac]                                     ^                                                                                                   
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:318: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                             if (!mm.group(2).isEmpty()) {                                                                               
    [javac]                                              ^                                                                                          
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:320: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                                     if (!mm.group(1).isEmpty()) {                                                                       
    [javac]                                                      ^                                                                                  
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:326: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                     } else if (mm.group(2).isEmpty()) {                                                                                 
    [javac]                                            ^                                                                                            
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:327: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                             if (!mm.group(4).isEmpty()) {                                                                               
    [javac]                                              ^                                                                                          
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/imports/IEEEXploreFetcher.java:576: cannot find symbol
    [javac] symbol  : method isEmpty()                                                                                                              
    [javac] location: class java.lang.String                                                                                                        
    [javac]                     if (!year.isEmpty()) {                                                                                              
    [javac]                                  ^                                                                                                      
    [javac] /var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/src/java/net/sf/jabref/net/URLDownload.java:38: cannot find symbol           
    [javac] symbol  : class CookieManager                                                                                                           
    [javac] location: class net.sf.jabref.net.URLDownload                                                                                           
    [javac]                 cm = new CookieManager();                                                                                               
    [javac]                          ^                                                                                                              
    [javac] Note: Some input files use unchecked or unsafe operations.                                                                              
    [javac] Note: Recompile with -Xlint:unchecked for details.                                                                                      
    [javac] 9 errors                                                                                                                                

BUILD FAILED
/var/tmp/portage/app-text/jabref-2.5_beta/work/jabref-2.5b/build.xml:125: Compile failed; see the compiler error output for details.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-26 11:07:50 UTC
Raised the dependency to 1.6, thanks for reporting.