[jira] Created: (DIRMINA-153) Using JDK 1.5 API in TextLineCodecFactory and associated
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Created: (DIRMINA-153) Using JDK 1.5 API in TextLineCodecFactory and associated




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Created: (DIRMINA-153) Using JDK 1.5 API in TextLineCodecFactory and associated  
Alex Karasulu (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-27-05 10:45 PM

Using JDK 1.5 API in TextLineCodecFactory and associated classes
----------------------------------------------------------------

Key: DIRMINA-153
URL: http://issues.apache.org/jira/browse/DIRMINA-153
Project: Directory MINA
Type: Bug
Environment: JDK 1.4
Reporter: Alex Karasulu
Priority: Critical


As I was trying to move MINA to m2 I thought I'd try to compile with 1.4 onc
e I moved what I thought was the only 1.5 API dependent classes into a separ
ate project (SSLFilter et. al). I got the following build errors due to defa
ultCharset() only being pre
sent in JDK 1.5 of java.nio.charset.Charset:

[akarasulu@newton org.apache.mina]$ mvn clean install
[INFO] Scanning for projects...
[INFO] -----------------------------------------------------------------
-----------
[INFO] Building MINA
[INFO]    task-segment: [clean, install]
[INFO] -----------------------------------------------------------------
-----------
[INFO] [clean:clean]
[INFO] Deleting directory /home/akarasulu/projects/directory/trunk/org.a
pache.mina/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 111 source files to /home/akarasulu/projects/directory/trunk/org.a
pache.mina/target/classes
[INFO] -----------------------------------------------------------------
-----------
[ERROR] BUILD FAILURE
[INFO] -----------------------------------------------------------------
-----------
[INFO] Compilation failure

/home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/a
pache/mina/filter/codec/textline/TextLineCodecFactory.java:[46,21] canno
t resolve symbol
symbol  : method defaultCharset ()
location: class java.nio.charset.Charset

/home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/a
pache/mina/filter/codec/textline/TextLineEncoder.java:[47,21] cannot res
olve symbol
symbol  : method defaultCharset ()
location: class java.nio.charset.Charset

/home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/a
pache/mina/filter/codec/textline/TextLineEncoder.java:[52,21] cannot res
olve symbol
symbol  : method defaultCharset ()
location: class java.nio.charset.Charset

/home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/a
pache/mina/filter/codec/textline/TextLineDecoder.java:[52,21] cannot res
olve symbol
symbol  : method defaultCharset ()
location: class java.nio.charset.Charset

/home/akarasulu/projects/directory/trunk/org.apache.mina/src/main/java/org/a
pache/mina/filter/BlacklistFilter.java:[90,18] cannot resolve symbol
symbol  : constructor IllegalArgumentException (java.lang.String,java.lang.A
rrayStoreException)
location: class java.lang.IllegalArgumentException


[INFO] -----------------------------------------------------------------
-----------
[INFO] For more information, run Maven with the -e switch
[INFO] -----------------------------------------------------------------
-----------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Dec 27 15:20:41 EST 2005
[INFO] Final Memory: 3M/16M
[INFO] -----------------------------------------------------------------
-----------



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register