java1.4 Questions
8
Solved
What is the best way to debug java.lang.OutOfMemoryError exceptions?
When this happens to our application, our app server (Weblogic) generates a heap dump file. Should we use the heap dump file? S...
Kisor asked 22/12, 2010 at 18:1
6
Solved
Is there a method that will copy a section of an array(not arraylist) and make a new array from it?
Example:
[1,2,3,4,5]
and you create a new array from it:
[1,2,3]
Are there any one li...
4
Solved
How does one set a timeout on a BufferedReader and a PrintWriter created using a socket connection? Here is the code I have for the server right now, which works until either the server or the clie...
Howardhowarth asked 22/7, 2011 at 16:10
1
Solved
I'm currently supporting a legacy e-commerce application that runs on Java 1.4.
I understand that 1.4 does not support SSL certificates signed with SHA256, is this correct and will I have issues e...
6
Solved
I have an interesting question which entails the use of Hashtables; I'm developing for S40 Nokia's (with compliance level 1.4)
How I expect the Hashtable to work:
Hashtable table = new Hashtable...
3
Solved
What would be a Java 1.4.2 equivalent of Pattern.quote?
I was using Pattern.quote() on a URI but now need to make it 1.4.2 compatible.
4
Solved
Since Java 1.4 doesn't have enums I'm am doing something like this:
public class SomeClass {
public static int SOME_VALUE_1 = 0;
public static int SOME_VALUE_2 = 1;
public static int SOME_VALUE...
4
Solved
Currently i have a method calling String.format() in Java 5 and it's working perfectly
String.format("%02x", octet) //octet is a int type
However due to some issue we need to deploy this code in...
Steffy asked 2/11, 2012 at 11:45
3
Solved
If I compile an application using Java 5 code into bytecode, are the resulting .class files going to be able to run under Java 1.4?
If the latter can work and I'm trying to use a Java 5 framework ...
Phenix asked 12/8, 2009 at 15:31
5
Solved
We are stuck with Java2SE v1.4 till the end of 2010. That's really nasty, but we can't help it. What options do we have to use some of the new features already now? I can think of several ways like...
3
Solved
How can I format Floats in Java so that the float component is displayed only if it's not zero? For example:
123.45 -> 123.45
99.0 -> 99
23.2 -> 23.2
45.0 -> 45
Edit: I forgot to mention - I'm ...
1
© 2022 - 2024 — McMap. All rights reserved.