[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-dev
Subject: [jira] Created: (AMQ-2310) RestFilter.java has a dependency on Sun
From: "Phillip Henry (JIRA)" <jira () apache ! org>
Date: 2009-06-27 11:04:07
Message-ID: 479545842.1246100647001.JavaMail.jira () brutus
[Download RAW message or body]
RestFilter.java has a dependency on Sun JDK classes
---------------------------------------------------
Key: AMQ-2310
URL: https://issues.apache.org/activemq/browse/AMQ-2310
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.2.0
Environment: All
Reporter: Phillip Henry
Priority: Minor
activemq/activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java \
depends on sun.net.www.protocol.http.HttpURLConnection. I think this is a rogue \
import and should have been java.net.HttpURLConnection {code}
### Eclipse Workspace Patch 1.0
#P activemq
Index: activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java
===================================================================
--- activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java \
(revision 768326)
+++ activemq-fileserver/src/main/java/org/apache/activemq/util/RestFilter.java \
(working copy) @@ -38,7 +38,7 @@
import org.mortbay.log.Log;
import org.mortbay.util.IO;
import org.mortbay.util.URIUtil;
-import sun.net.www.protocol.http.HttpURLConnection;
+import java.net.HttpURLConnection;
/**
* <p>
{code}
This means that those of us without Sun JDKs can compile :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic