Trying to teach self Java-question with arrays
I have a question with arrays. I have a simple inventory program that I am writing(very simple). I have declared and created my array. Is this the time I should build a new class outside of my main in order to hold my array? I am still trying to sort through classes and when to create them. My thought is that because it is a hierarchy I should have a new class. For example, Albums is at the top and then there are specific types of albums, like TributeAlbum, PremiereAlbum, etc. Do I need a class for each of these? When I create the class, do I use the same name as the array?
More info, just in case: My original class is AlbumInventory. I have created an array to hold 25 TributeAlbums which has 4 instance variables.
Question 2: Why can I not refer to an album variable like TributeAlbums[0].itemNumber?
Thanks in advance for your input.
Denise
I have a question with arrays. Okay.
I have a simple
inventory program that I am writing(very simple). I
have declared and created my array. Is this the time
I should build a new class outside of my main in
order to hold my array? In an OO language classes are usually a good idea.
I am still trying to sort
through classes and when to create them. My thought
is that because it is a hierarchy I should have a new
class.This sounds a bit confused. You should have a new class when it is appropriate to do so.
For example, Albums is at the top and then
there are specific types of albums, like
TributeAlbum, PremiereAlbum, etc. Do I need a class
for each of these? Not sure. Why is the type not an attribute of the Album class? This (attribute) seems at first glance to be the way to do it.
When I create the class, do I use
the same name as the array?
? I am going to say no but I'm not following what you are really asking here.
More info, just in case: My original class is
AlbumInventory. I have created an array to hold 25
TributeAlbums which has 4 instance variables.
Can you please post some of your actual formatted code? It would also be helpful to know what the attributes for an Album are as you have them.
Similar Messages
-
Im a couple days new in java, Ive been searching for an answer for hours and havent found a solution.
This is the mistake it shows (when trying to use any element of the array):
array required, but java.util.ArrayList <java.lang.String> found
The array is:
public static ArrayList<String> numList = new ArrayList<String>();
Im filling it this way: (so that it contains each word of a file in separate)
BufferedReader br = new BufferedReader(new FileReader("Archivo.txt"));
try
while(true)
String aLine = br.readLine();
if(aLine == null) throw new EOFException("Le?do todo el archivo.");
if(!aLine.equals(""))
StringTokenizer st = new StringTokenizer(aLine);
while(st.hasMoreTokens())
numList.add(st.nextToken());
}catch(EOFException e)
The problem comes when I try to use the elements of the array (in specific when trying to convert each element of the array to int, so that i can do math operations with them).
for example:
for (a=0; w>a; a++)
int x = Integer.parseInt(numList[a])
Can anyone help me with this? (where is the mistake and how to convert from string array elements to int)
Thank you // Muchas GraciasThe trouble is that you're confusing ArrayLists with arrays. They're not the same thing.
Currently you're making an ArrayList. If you want an array of String, do this:
String[] myArray = new String[50];
int i = 0;
while(st.hasMoreTokens()) {
myArray[i] = st.nextToken();
i++;
}Or perhaps better yet:
String[] numListArray = numList.toArray(new String[0]);But you really don't need an array for what you're doing. Use an Iterator.
Iterator<String> strings = numList.iterator();
while(strings.hasNext()) {
int x = Integer.parseInt(strings.next());
}You get the idea. Read the Collections tutorial about iterators. Read the language spec about arrays. Also look at the java.util.Arrays class. -
Rhino calling overloaded Java methods with Array parameters
Has anyone had any problems writing JavaScript code that calls overloaded Java methods?
I have two Java defined methods that differ in the arguments, one takes a string the other takes an array of strings. The problem is calling Java methods within the JavaScript always calls the method with the String argument...
/* Java Code Here */
public void function(String s) { /* Function A */ }
public void function(String[] sa) { /* Function B */ }
/* JavaScript Code Here */
param = java.lang.reflect.Array.newInstance(java.lang.String, 2);
param[0] = "test";
param[1] = "test2";
stringParam = "test3";
/* Both function calls below end up calling the Function A from above */
function(param);
function(stringParam);PS...in case you're not familiar with Rhino,
It is a mozilla package that embeds a JavaScript interpreter within a Java application...
http://www.mozilla.org/rhino/haha...I can't even find my other thread :(
Sorry about the double post...I'll go look for my other thread now -
OSB java call out with array parameters
Hi all,
I have a java call out with array parameters, follow the firm of java method:
logBody2(String category, XmlObject headerXml, String[] level, XmlObject[] xml)
The java call out have String[] and XmlObject[] arrays in intput, my question is how I can pass these arrays of values at java call out?
Thk
L.For array, comma-separated values should be passed. For e.g. -
If input parameter is of type String[] then passed values should be comma-separated strings like - 'Anuj','Dwivedi'
If input parameter is of type XmlObject[] then passed values should be comma-separated XmlObject like - <anuj/>,<dwivedi/>
Regards,
Anuj -
Beginner question regarding switch statements with arrays....
Doing a little project for my beginner's object oriented programming course. I've written the following code, but the switch statement won't recognize my array values....I'm required to use a switch statement in my program, which will count various character types in an external file....any insight is appreciated.
import java.io.*;
public class MyProg
public static BufferedReader inFile;
public static void main(String[] args)
throws IOException, StringIndexOutOfBoundsException
String line;
inFile = new BufferedReader(new FileReader("TME5Part1.dat3"));
char UpperCase[]= {'A','B','C','D','E','F','G','H','I','J','K','L','M',
'N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char LowerCase[]= {'a','b','c','d','e','f','g','h','i','j','k','l','m',
'n','o','p','q','r','s','t','u','v','w','x','y','z'};
char Digit[]= {'0','1','2','3','4','5','6','7','8','9'};
char EndMark[]= {'!','.','?'};
char MidMark[]= {',',':',';'};
char symbol;
int upperCaseCt = 0;
int lowerCaseCt = 0;
int digitCt = 0;
int endMarkCt = 0;
int midMarkCt = 0;
int spaceCt = 0;
int otherCharCt = 0;
line = inFile.readLine(); //read first line (priming read)
while (line != null) // Loop until end of data (empty line)
for (int count = 0; count < line.length(); count++) // Loop until end of line
symbol = line.charAt(count);
for (int i=0; i<=25;i++)
char uppercase=UpperCase; //get array values for i
char lowercase=LowerCase[i];
if (i<=9) {char digit=Digit[i];}
if (i<=2) { char endmark=EndMark[i];
char midmark=MidMark[i];
switch(symbol)
case uppercase : upperCaseCt++;
break;
case lowercase : lowerCaseCt++;
break;
case digit : digitCt++;
break;
case endmark : endMarkCt++;
break;
case midmark : midMarkCt++;
break;
case ' ' : spaceCt++;
break;
default : otherCharCt++;
break;
line = inFile.readLine();
System.out.println("Number of uppercase letters = "+upperCaseCt);
System.out.println("Number of lowercase letters = "+lowerCaseCt);
System.out.println("Nubmer of digits = "+digitCt);
System.out.println("Number of end punctuation marks = "+endMarkCt);
System.out.println("Number of mid punctuation marks = "+midMarkCt);
System.out.println("Number of spaces = "+spaceCt);
System.out.println("Number of other characters = "+otherCharCt);
I was trying to do it this way rather than "case 'A':
case 'B':
case 'Z:" for each type of 'symbol'.
Unfortunately, the switch statement is required or this would be easier with arrays and for loops...I'm not sure if my code is even possible. Thanks in advance =)
Edited by: RiTarDidRiTarDid wrote:
For sure it is the most straightforward way, but my curiosity is getting the better of me....I will most likely submit the program with the longer (value-by-value) switch method, as I haven't found anyone who can tell me how to properly reference an array value in a 'case'.Well, you can do this (basically):
switch(some_array[some_index]) {
case 'a': blahblah
case 'z': blahblah
}What you can't do is this:
switch(some_scalar_value) {
case a_whole_array: blahblah
case a_whole_another_array: blahblah
}Because the latter isn't what "case" means.
If you want to do something like the latter, use if/else statements. Here's a dirty little industry secret: people seldom use switch/case. if/else is a lot more common.
Actually that dirty little secret isn't really particular dirty or particularly secret. It is, however, little.
I just recall a suggestion to use arrays for any group that is more than 10 values in size;Well...sort of...
You should use the expression of data that's appropriate for what the data is. If it's a collection of data of the same kind and an ordering, then an array or a java.util.List makes sense. If it's data that is of the same kind but no ordering and no duplicates are allowed, use a java.util.Set. (Etc. on this front.) If it's a collection of un-alike data, but which belongs in associated groups (e.g., a user's name, age, height, and whether s/he's married) then you should create a class that represents that logical grouping. Etc. If you have more than 10 individual data that can't be grouped or collected somehow, then chances are you need to rethink what's happening.
so I wanted to see if an array could be employed for comparisons with the 'switch' statement. The program is simple enough, I'm just trying to flex my problem-solving muscle in different ways. :)
thanks for replying, hope I can get a definite "yes, it can be done this way" or "no it can't" if there's anyone out there who knows.....The problem is that your example is contrived. So you can do a variety of things that fit into the contrivance, but they'd be weird things.
In practice, you'd want to use the character classification methods in Character, if you wanted to characterize a bunch of characters. Or maybe a regular expression. There's no need to keep an array of characters to match against if you want to determine whether a particular character is upper case. In fact, that's the wrong way of doing things, because Character.isUpperCase is more likely to tell whether any character (not just stuff that's also an element of ASCII) qualifies as upper case. -
I am trying to reset the Security Questions as I have forgotten them, when I have logged into My Apple Id, and click on the button to reset the Security Questions, it states it is sending an email to the Primary Email address. I do not have the option to input a Rescue Email address, the only option I have is to input an Alternate Email address, which I have done so.
Also when I have tried to book an appointment throuth Online Support, I have not successful, I have rung a telephone number provided by the Mac Store in Perth, Australia and the reply provided is that we are closed. I was given to understand that Apple provided 24/7 Support to their users.Hot N Spicy wrote:
I am trying to reset the Security Questions as I have forgotten them,
Forgotten Security Questions / Answers...
See Here > Apple ID: Contacting Apple for help with Apple ID account security
Ask to speak with the Account Security Team...
Or Email Here > Apple Support iTunes Store Contact
More Info > Apple ID: All about Apple ID security questions
Note:
You can only set up and/or change a Rescue Email Before you forget the questions/answers -
I initially created my apple account years ago. I am trying to reset my security questions because my answers are continually incorrect. I pressed the link that sends reset security questions info to my alt. address, but I have not received the email with instructions. I have resent the email several times and checked both of the emails I have set up with my apple account to no avail. I have tried everything that is provided in the support article about the issue and my problem has not be resolved. I've even deleted my alt email from the apple account and then reassigned it and tried again, however, I still have not received the email. Without knowing the answers to my security questions, I cannot purchase anything from the iTunes store, which I have been trying to do.
I do not know what the problem is and I am asking for any resolutions. Please and thank you!Go to the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account Security Team...either can help you reset your questions/answers.
-
I need help with event structure.
I am trying to feed the index of the array, the index number can vary from 0 to 7.
Based on the logic ouput of a comparison, the index buffer should increment
or decrement every time the output of comparsion changes(event change). I guess I need to use event structure?
(My event code doesn't execute when there is an event at its input /comparator changes its boolean state.
Anyone coded on similar lines? Any ideas appreciated.
Thanks in advance!You don't need an Event Structure, a simple State Machine would be more appropriate.
There are many examples of State Machines within this forum.
RayR -
hi my iphone was fully charged and turned its self off, i have tried to turn it back on and reset it, but no luck so i have plugged it in to my pc and it displays the apple logo and then goes back off i have tried this a number of times with no success anyone got any idears?
Try here:
iOS: Not responding or does not turn on -
i'm trying to use a madcatz controller on the mac but it turns on for 2 seconds and turns off. the system profiler picks it up as a xbox 360 gamepad but says its not been configured. how can i allow my self use this with my games!
I have exactly the same problem.
I'm a little peed-off with Microsoft on this. The original wireless controller I have doesn't work either since the cable I'm using is 'just' the charge and play cable, so a direct connection to my Mac won't work with this cable. It's a cable for god's sake. Why on EARTH put any limitations on this!?!?
Next I learn I need an additional USB wireless receiver from Microsoft to get my original 360 controller to talk to my Mac. As I certainly don't want to fork any more microsoft dollars on this, this is not an option.
Next I think, yes! I have a MadCatz 360 wired USB controller. This should surely do the trick just plugging it in and the way I go. But oh no, for some reason I plug my MadCatz Xbox360 controller in, it flashes a few times then switches off and can't be turned on again.
The System Profiles recognizes it as a MadCatz 360 device controller but that is about it, but the ontroller software I download for the System Prefs (360Controller, USBOverdrive etc) don't even recognize the controller as being plugged in.
What the **** Is The Microsoft Deal with all of this!?!?
PS: Oh, and I forgot to mention, there are No drivers for device 4716 that I can find on the MadCatz website, or am I going blind?
If anyone has a link, it would be appreciated.
Message was edited by: nostrawaggus -
Signal ILL trying to debug java process with dbx
Hello,
I'm trying to debug a java process to find an error in JNI code. I get this message when dbx stops in a C breakpoint:
t@18 (l@19) signal ILL (illegal trap) in (unknown) t@18 (l@19) signal ILL (illegal trap) in (unknown) at 0xf848ed28
0xf848ed28: tne 0x12This signal is not launched when running application without debugger, and after launching this exception and exiting dbx, the java process generates a core.
I've tried to find out unsuccessfully whether my dbx version is compatible with my Java version, but it seems this could be the problem.
This is my current configuration:
java �version:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
opt/SUNWspro/bin/version:
Machine hardware: sun4u
OS version: 5.8
Processor type: sparc
Hardware: SUNW,Sun-Blade-2500
The following components are installed on your system:
Forte C++ 6 update 2
Sun WorkShop 6 update 2 Compilers C
Sun WorkShop 6 update 2 Compilers C++
Sun WorkShop 6 update 2 Tools.h++ 7.1
Sun WorkShop 6 update 2 Standard 64-bit Class Library for C++
Sun WorkShop 6 update 2 Memory Monitor for C++
Sun WorkShop 6 update 2 Visual
Sun WorkShop 6 update 2 Development Environment
Sun WorkShop 6 update 2 TeamWare
Sun WorkShop 6 update 2 FileMerge
Sun WorkShop 6 update 2 DBX Debugging Tools
Sun WorkShop 6 update 2 Performance Analyzer
Sun WorkShop 6 update 2 LockLint
XEmacs 20.4 Source Distribution
Sun WorkShop 6 update 2 Documentation Set
Sun WorkShop 6 update 2 Building SoftwareAnd this is how I launch java application:
java -Djava.compiler=NONE -Xdebug -Xnoagent -Xrundbx_agent -jar jarname.jar -mainOptionsDid I miss something important? Does anyone know if it is possible debugging with this configuration?
Best Regards,
Alberto- Native code has been compiled with -g option.
- It fails in my code, but only when debugging.
- Stack trace (executing "where" in dbx):
(dbx) where
current thread: t@18
[1] 0xf848ef68(0xf01537d8, 0xf443b7b0, 0x0, 0xf84181b0, 0x21e9, 0xef581050), at 0xf848ef68
[2] 0xf8458354(0xf15faea8, 0xf01537d8, 0xf0151a88, 0xf8419368, 0x21e8, 0x0), at 0xf8458354
[3] 0xf848c9a0(0xf15faea8, 0xf01537d8, 0xf0151a58, 0xf0151a38, 0xf0153830, 0x0), at 0xf848c9a0
[4] 0xf84577c8(0xf15faea8, 0xb6, 0x0, 0xf84181b0, 0xf0158f80, 0xef581118), at 0xf84577c8
[5] 0xf8405764(0xf15faea8, 0xb6, 0x0, 0xf8419320, 0xf0158f80, 0xef5811c8), at 0xf8405764
[6] 0xf8405764(0xf15faea8, 0xb6, 0x0, 0xf84195a0, 0xf0158f80, 0xef581250), at 0xf8405764
[7] 0xf8405764(0xf0151a38, 0xb8, 0x0, 0xf8419320, 0xf0125258, 0xef5812d8), at 0xf8405764
[8] 0xf8405874(0xf15fb6c8, 0xb8, 0x0, 0xf8419720, 0xf0125258, 0xef581360), at 0xf8405874
[9] 0xf8405764(0xf15fae98, 0xb6, 0x0, 0xf8419770, 0xf00f0088, 0xef5813f0), at 0xf8405764
[10] 0xf8405874(0xf15fae98, 0xb6, 0x0, 0xf8419320, 0x1465, 0xef581478), at 0xf8405874
[11] 0xf8405874(0xf16315b0, 0xb6, 0x0, 0xf8419320, 0xf00f0088, 0xef581500), at 0xf8405874
[12] 0xf8405764(0xf16315b0, 0xf45744c0, 0x0, 0xf8419320, 0xf45744c0, 0xef581588), at 0xf8405764
[13] 0xf8405c2c(0xf16315d0, 0xb7, 0x0, 0xf84198a0, 0xf00f0088, 0xef581618), at 0xf8405c2c
[14] 0xf8405764(0xf009c018, 0xf402c8b8, 0x0, 0xf84195a0, 0x8800, 0xef5816a8), at 0xf8405764
[15] 0xf8405c2c(0x2000, 0x2, 0x0, 0xf84198f0, 0xef50e0f8, 0xef581720), at 0xf8405c2c
[16] 0xf8400218(0xef581808, 0xef581a08, 0xa, 0xf402dae8, 0xf840ba20, 0xef581920), at 0xf8400218
[17] JavaCalls::call_helper(0x1, 0x65d188, 0xef581918, 0xef581818, 0x4, 0xef581a08), at 0xfdd9a808
[18] JavaCalls::call_virtual(0x7a9c, 0x65d188, 0x3570f8, 0x357104, 0x357100, 0xf00bc770), at 0xfdec319c
[19] thread_entry(0xf402fc58, 0x65d188, 0x3574e4, 0xfe424640, 0xfe424710, 0xfe424130), at 0xfdee2700
[20] JavaThread::run(0x65d188, 0x18, 0xfe40c790, 0x6c00, 0x7dd4, 0x7c00), at 0xfdede29c
[21] _start(0x65d188, 0x3b62, 0xfe3be000, 0x0, 0x4f24, 0x4c00), at 0xfe264240 - Stack trace (obtained from core generated after ILL signal):
----------------- lwp# 19 / thread# 18 --------------------
ff3791f0 __sigprocmask (ff37b7f4, 0, 0, ef581d98, ff38c000, 0) + 8
ff36dd0c _sigon (ef581d98, ff3938a8, 6, ef58083c, ef581d98, ff39321c) + d0
ff370d4c _thrp_kill (0, 12, 6, ff38c000, 12, ff2c0458) + f8
ff24bce0 raise (6, 0, 0, ffffffff, ff2c03c4, 8400) + 40
ff235984 abort (ff2bc008, fe3be000, fe26a8e0, fe4133c4, 0, 331c8) + 100
fe264724 __1cCosFabort6Fi_v_ (1, 0, fe3f2614, fe3be000, 73b4, 7000) + 58
fe2f08f0 __1cHVMErrorOreport_and_die6M_v_ (0, fe419ad8, fe41339c, 1, fe268a14, fe41339c) + c84
fde76878 JVM_handle_solaris_signal (4, ef580fd8, ef580d20, 7800, 11, 65d188) + aac
ff37b118 __sighndlr (4, ef580fd8, ef580d20, fde75d94, ef581e40, ef581e30) + c
ff37811c sigacthandler (4, ef581d98, 0, 0, 0, ff38c000) + 708
--- called from signal handler with signal 4 (SIGILL) ---
f848ef68 ???????? (f15faea8, f01537d8, f0151a88, f8419368, 21e8, 0)
f848c9a0 ???????? (f15faea8, f01537d8, f0151a58, f0151a38, f0153830, 0)
f84577c8 ???????? (f15faea8, b6, 0, f84181b0, f0158f80, ef581118)
f8405764 ???????? (f15faea8, b6, 0, f8419320, f0158f80, ef5811c8)
f8405764 ???????? (f15faea8, b6, 0, f84195a0, f0158f80, ef581250)
f8405764 ???????? (f0151a38, b8, 0, f8419320, f0125258, ef5812d8)
f8405874 ???????? (f15fb6c8, b8, 0, f8419720, f0125258, ef581360)
f8405764 ???????? (f15fae98, b6, 0, f8419770, f00f0088, ef5813f0)
f8405874 ???????? (f15fae98, b6, 0, f8419320, 1465, ef581478)
f8405874 ???????? (f16315b0, b6, 0, f8419320, f00f0088, ef581500)
f8405764 ???????? (f16315b0, f45744c0, 0, f8419320, f45744c0, ef581588)
f8405c2c ???????? (f16315d0, b7, 0, f84198a0, f00f0088, ef581618)
f8405764 ???????? (f009c018, f402c8b8, 0, f84195a0, 8800, ef5816a8)
f8405c2c ???????? (2000, 2, 0, f84198f0, ef50e0f8, ef581720)
f8400218 ???????? (ef581808, ef581a08, a, f402dae8, f840ba20, ef581920)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 65d188, ef581918, ef581818, 4, ef581a08) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 65d188, 3570f8, 357104, 357100, f00bc770) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 65d188, 3574e4, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (65d188, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (65d188, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (65d188, 0, 0, 0, 0, 0) + 40
----------------- lwp# 20 / thread# 19 --------------------
ff29f474 _lwp_sema_wait (ff3934c8, ff392e40, 0, 1, 0, 0) + c
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 21 --------------------------------
ff379200 private___lwp_cond_wait (fa5a3d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa5a3d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 22 --------------------------------
ff379200 private___lwp_cond_wait (fa4d3d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa4d3d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 23 --------------------------------
ff379200 private___lwp_cond_wait (fa4c3d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa4c3d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 24 --------------------------------
ff379200 private___lwp_cond_wait (fa493d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa493d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 25 --------------------------------
ff379200 private___lwp_cond_wait (fa483d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa483d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 26 --------------------------------
ff379200 private___lwp_cond_wait (fa473d98, ff38cd6c, ff38c000, 3, ff38c000, 1) + 8
ff36a358 _lwp_start (fa473d98, 0, 4000, fb28162c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 1 / thread# 1 --------------------
ff29d600 _poll (fe4124d8, 0, 1, 18e, 37020, fe3be000) + 8
fdd90cd0 __1cCosFsleep6FpnGThread_xi_i_ (6e58, 6c00, fdf04534, 1, 7, 4) + 25c
fdf0ca4c JVM_Sleep (1c08, fe406e44, 37020, fe412d84, 38680, fe3be000) + 260
f840e22c ???????? (b9, ffbee73c, ffbee6b8, ffffff80, 0, 0)
f840e1d0 ???????? (0, b8, 0, 8, f402fc58, ffbee6d0)
f8405764 ???????? (f15996c8, fe4163d4, 0, f8419770, 8800, ffbee768)
f8405764 ???????? (f01778f8, fe4163d4, 0, f8419370, 8800, ffbee820)
f8405764 ???????? (2000, 2, 0, f8419320, ffb7c110, ffbee8b8)
f8400218 ???????? (ffbee9a0, ffbeeb00, a, f41c4038, f840ba20, ffbeea88)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 37020, ffbeea80, ffbee9b0, 4, ffbeeb00) + 5a0
fdedea14 jni_CallStaticVoidMethod (fe412d84, 381ec, 36750, 37020, 36748, 37cb8) + 500
000121fc main (38648, 1e7fa2, fe40a630, 1d8, fded413c, 1) + 115c
00011088 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 2 / thread# 2 --------------------
ff29edc4 _signotifywait (ff38c000, 0, 0, 0, 0, 0) + 8
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 3 --------------------------------
ff379200 private___lwp_cond_wait (ff325d98, ff38cd6c, ff38c000, 0, 0, 4) + 8
ff29c9c0 _door_return (ff325cd8, ff36a358, 0, 0, 0, 0) + 68
----------------- lwp# 4 / thread# 4 --------------------
ff29f428 ___lwp_cond_wait (35d68, 35d50, fdb81978, 0, 0, fdb81970) + 8
ff296a7c _lwp_cond_timedwait (2958790, 44b36755, fdb81a50, 35d50, 35d68, a95a) + 98
fddc3258 __1cHMonitorEwait6Mil_i_ (35cf8, 11dce0, fff0bc00, fe3be000, 6000, 35d28) + 328
fdf6b4fc __1cIVMThreadDrun6M_v_ (fe4124d8, fe420c84, 0, fe420c70, fe420c80, 1) + 1b4
fe264240 __1cG_start6Fpv_0_ (11dce0, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (11dce0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 5 --------------------------------
ff29c968 _door_return (4, ff38d658, ff38d670, 3, ff38c000, 1) + 10
ff36a358 _lwp_start (fe785d98, 0, 6000, ff325b9c, 0, 0) + 18
ff371c2c thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 6 / thread# 5 --------------------
ff29f428 ___lwp_cond_wait (120148, 120130, 0, ff2968f0, 0, 1) + 8
fdeb4768 __1cNObjectMonitorEwait6MxipnGThread__v_ (120370, 9408, 8c00, fe3be000, 11fdc0, 120390) + 59c
fdeb5978 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (120372, 86d4, 0, 11fdc0, 8400, fe3be000) + e8
fdeb5628 JVM_MonitorWait (0, e7a14, 11fdc0, fe412d84, 0, 1) + 31c
f840e22c ???????? (51, fda816ec, fda81670, ffffff80, fdd2e808, 0)
f840e1d0 ???????? (f15817e0, b6, 0, c, 0, fda81688)
f8405764 ???????? (f15817e0, b6, 0, f8419354, 80000000, fda81708)
f8405764 ???????? (0, fe411508, 0, f8419770, 7bac, fda817a0)
f8400218 ???????? (fda81888, fda81a88, a, f40901d0, f840ba20, fda819a0)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 11fdc0, fda81998, fda81898, 4, fda81a88) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 11fdc0, e7a00, e7a0c, e7a08, f0000760) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 11fdc0, e7dec, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (11fdc0, 0, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (11fdc0, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (11fdc0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 7 / thread# 6 --------------------
ff29f428 ___lwp_cond_wait (121cc8, 121cb0, 0, ff2968f0, 0, 1) + 8
fdeb4768 __1cNObjectMonitorEwait6MxipnGThread__v_ (1203b8, 9408, 8c00, fe3be000, 121530, 1203d8) + 59c
fdeb5978 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (1203ba, 86d4, 0, 121530, 8400, fe3be000) + e8
fdeb5628 JVM_MonitorWait (0, 121714, 121530, fe412d84, 0, 1) + 31c
f840e22c ???????? (59, fb3817ec, fb381768, ffffff80, 0, 0)
f840e1d0 ???????? (f1581760, b6, 0, c, 80000000, fb381780)
f8405764 ???????? (f1581768, b6, 0, f8419354, 8800, fb381820)
f8405874 ???????? (f1581768, b6, 0, f8419354, f402af58, fb3818a0)
f8405874 ???????? (0, fe411508, 0, f8419720, 7bac, fb381920)
f8400218 ???????? (fb381a08, fb381c08, a, f4090ab8, f840ba20, fb381b20)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 121530, fb381b18, fb381a18, 4, fb381c08) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 121530, 121700, 12170c, 121708, f0000858) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 121530, 121aec, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (121530, 0, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (121530, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (121530, 0, 0, 0, 0, 0) + 40
----------------- lwp# 8 / thread# 7 --------------------
ff29f428 ___lwp_cond_wait (1b65f0, 1b65d8, fb281890, ff296918, ff29691c, fb281888) + 8
ff296a7c _lwp_cond_timedwait (2964ae0, 44b36756, fb281910, 1b65d8, 1b65f0, 153180) + 98
fe2606e0 __1cCosHSolarisFEventEpark6Mx_i_ (1b65b0, 6a60, fe4238d8, 1b65f0, fe406ef0, fb281910) + 1bc
fe25ff28 __1cNObjectMonitorIraw_wait6MxipnGThread__i_ (1b65b0, fe214b70, 7bac, 0, 1b59e8, 12a188) + 20c
fe1f4b8c __1cIJvmtiEnvORawMonitorWait6MpnPJvmtiRawMonitor_x_nKjvmtiError__ (fb2, 12a188, 0, 7d0, 4, 1b59e8) + a8
fe7d87ec process_next_event (fe40b864, 10000, fe7f24a0, fe7f4b90, fe7f25f0, fe7f25ec) + 108
fe7c7630 agent_bar (1b5aa4, fe7f2ae8, ff38c000, fe7f24c8, 0, 0) + 1c
fe7c7bc4 jvmti_debug_agent (fe7f2400, 1b5aa4, 0, 1678, 1, fe7f252c) + d4
fe211c74 __1cQJvmtiAgentThreadTcall_start_function6M_v_ (1b59e8, 7800, 8c94, fe3be000, fe4123c4, fe4163d4) + 150
fdede29c __1cKJavaThreadDrun6M_v_ (1b59e8, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1b59e8, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1b59e8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 9 / thread# 8 --------------------
ff29f474 _lwp_sema_wait (fb181e60, ff38c000, 0, fb181d98, 0, 0) + c
ff3690d8 _swtch (fb181d98, ffffffff, ff38c000, 5, 1000, fe4170c4) + 158
ff36c860 sema_wait (fe4217e8, ff39785c, 5000, 10000, 534d, 1) + bc
fdf61dc0 __1cVcheck_pending_signals6Fi_i_ (1, fe4124d8, fe4123c0, 1b6ab8, fe3be000, a) + 254
fdf58ec8 __1cTsignal_thread_entry6FpnKJavaThread_pnGThread__v_ (7428, 1b6ab8, 1b7088, fe3be000, 4ff61c, 1b7080) + 34
fdede29c __1cKJavaThreadDrun6M_v_ (1b6ab8, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1b6ab8, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1b6ab8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 10 / thread# 9 --------------------
ff29f428 ___lwp_cond_wait (36548, 36530, fe423d60, 0, 0, ff29695c) + 8
fddc33ec __1cHMonitorEwait6Mil_i_ (364d8, 1b7998, 1b8510, fe3be000, 1b7998, 36508) + 4bc
fdf35d00 __1cNCompileBrokerUcompiler_thread_loop6F_v_ (fe4124d8, 1b54c0, 1b7998, fe407360, 8c00, 364d8) + 22c
fdede29c __1cKJavaThreadDrun6M_v_ (1b7998, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1b7998, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1b7998, 0, 0, 0, 0, 0) + 40
----------------- lwp# 11 / thread# 10 --------------------
fdd0c200 __1cENodeSremove_dead_region6MpnIPhaseGVN_i_i_ (9132d4, fa6809f4, 1, 9132d4, 9132f4, 68ad00) + 2c
fdd3332c __1cHMemNodeMIdeal_common6MpnIPhaseGVN_i_pnENode__ (fa6809f4, fa6809f4, 1, 800, 9132d4, 9132f4) + 3c
fdd68a78 __1cJStoreNodeFIdeal6MpnIPhaseGVN_i_pnENode__ (9132d4, fa6809f4, 1, 0, fdd4be74, fe3fbb44) + c
fdcf887c __1cMPhaseIterGVNNtransform_old6MpnENode__2_ (fa6809f4, 9132d4, 89e938, fdd68a6c, 20000000, c7) + 28
fdde3b98 __1cMPhaseIterGVNIoptimize6M_v_ (fa6809f4, 14, 9132d4, 0, fa680b44, ffffffff) + ac
fde048d8 __1cOPhaseIdealLoop2t6MrnMPhaseIterGVN_pk0i_v_ (fa68087c, ffffffff, fa680fb0, 2, 0, fa680880) + c34
fde7fb28 __1cHCompileIOptimize6M_v_ (fa680fb0, 1b55b0, 0, 0, fe3be000, 1000) + 200
fde82740 __1cHCompile2t6MpnFciEnv_pnKC2Compiler_pnIciMethod_ii_v_ (fa680fb0, 0, 36ee0, 0, fe3384f8, fa680fb0) + be8
fde786f8 __1cKC2CompilerOcompile_method6MpnFciEnv_pnIciMethod_i_v_ (fa6818ac, fe324608, 9269b8, ffffffff, 36ee0, 1000001) + b0
fde793b4 __1cNCompileBrokerZinvoke_compiler_on_method6FpnLCompileTask__v_ (597690, 1b8eb4, 1b55b0, 1b88d8, fe338ea7, fa6818ac) + 4cc
fdf35f20 __1cNCompileBrokerUcompiler_thread_loop6F_v_ (fe4124d8, 1b5550, 1b88d8, f4368380, 1b8eb0, 0) + 44c
fdede29c __1cKJavaThreadDrun6M_v_ (1b88d8, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1b88d8, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1b88d8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 12 / thread# 11 --------------------
ff29f428 ___lwp_cond_wait (365d8, 365c0, fe423d60, 0, 0, ff29695c) + 8
fddc33ec __1cHMonitorEwait6Mil_i_ (36568, 1b9818, 1ba390, fe3be000, 1b9818, 36598) + 4bc
fdf35d00 __1cNCompileBrokerUcompiler_thread_loop6F_v_ (fe4124d8, 1b5550, 1b9818, fe407360, 1b9df0, 36568) + 22c
fdede29c __1cKJavaThreadDrun6M_v_ (1b9818, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1b9818, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1b9818, 0, 0, 0, 0, 0) + 40
----------------- lwp# 13 / thread# 12 --------------------
ff29f428 ___lwp_cond_wait (34858, 34840, 1, 0, 1, 1bb248) + 8
fddc309c __1cHMonitorEwait6Mil_i_ (347e8, 1bb1a0, fff0bc00, fe3be000, f4000, 34818) + 16c
fdf64b44 __1cRLowMemoryDetectorbGlow_memory_detector_thread_entry6FpnKJavaThread_pnGThread__v_ (1bb1a0, 347e8, 9000, fe411604, fe3be000, 1) + 2ec
fdede29c __1cKJavaThreadDrun6M_v_ (1bb1a0, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (1bb1a0, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1bb1a0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 14 / thread# 13 --------------------
ff29d600 _poll (fe4124d8, 32, 0, 0, 8400, fe3be000) + 8
fdd90cd0 __1cCosFsleep6FpnGThread_xi_i_ (6e58, 6c00, 1, 0, 2, 4) + 25c
fdfa5194 __1cNWatcherThreadDrun6M_v_ (1bc4c8, 1b5460, 32, fe3be000, fe417db8, 0) + e8
fe264240 __1cG_start6Fpv_0_ (1bc4c8, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (1bc4c8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 15 / thread# 14 --------------------
ff29d600 _poll (fe4124d8, 0, 1, f1, 3baea0, fe3be000) + 8
fdd90cd0 __1cCosFsleep6FpnGThread_xi_i_ (6e58, 6c00, fdf04534, 1, 7, 4) + 25c
fdf0ca4c JVM_Sleep (ba8, fe406e44, 3baea0, fe412d84, 3bb180, fe3be000) + 260
f840e22c ???????? (c9, eff818f4, eff81870, ffffff80, f00e5250, 0)
f840e1d0 ???????? (0, b8, 0, 8, f00e5250, eff81888)
f8405764 ???????? (2000, 2, 0, f8419754, eff0e110, eff81920)
f8400218 ???????? (eff81a08, eff81c08, a, f423b868, f840ba20, eff81b20)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 3baea0, eff81b18, eff81a18, 4, eff81c08) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 3baea0, 254948, 254954, 254950, f01aaaf8) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 3baea0, 254d34, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (3baea0, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (3baea0, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (3baea0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 16 / thread# 15 --------------------
ff29d600 _poll (fe4124d8, 0, 1, f0, 358da0, fe3be000) + 8
fdd90cd0 __1cCosFsleep6FpnGThread_xi_i_ (6e58, 6c00, fdf04534, 1, 7, 4) + 25c
fdf0ca4c JVM_Sleep (368, fe406e44, 358da0, fe412d84, 358f98, fe3be000) + 260
f840e22c ???????? (91, efe81874, efe817f0, ffffff80, f00dfeb0, 0)
f840e1d0 ???????? (0, b8, 0, 8, f00dfeb0, efe81808)
f8405764 ???????? (2000, 2, 0, f8419754, efe0e110, efe818a0)
f8400218 ???????? (efe81988, efe81b88, a, f423b868, f840ba20, efe81aa0)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 358da0, efe81a98, efe81998, 4, efe81b88) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 358da0, 254d48, 254d54, 254d50, f01b4270) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 358da0, 255134, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (358da0, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (358da0, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (358da0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 17 / thread# 16 --------------------
ff29d600 _poll (fe4124d8, 0, 1, f5, 3dd8a8, fe3be000) + 8
fdd90cd0 __1cCosFsleep6FpnGThread_xi_i_ (6e58, 6c00, fdf04534, 1, 7, 4) + 25c
fdf0ca4c JVM_Sleep (1628, fe406e44, 3dd8a8, fe412d84, 3c5f98, fe3be000) + 260
f840e22c ???????? (c1, efb015fc, efb01570, ffffff80, efb, 0)
f840e1d0 ???????? (0, b8, 0, 8, 8800, efb01588)
f8405764 ???????? (2000, 2, 0, f8419770, efa8e110, efb01620)
f8400218 ???????? (efb01708, efb01908, a, f422e650, f840ba20, efb01820)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 3dd8a8, efb01818, efb01718, 4, efb01908) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 3dd8a8, 3568f8, 356904, 356900, f007a910) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 3dd8a8, 356ce4, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (3dd8a8, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (3dd8a8, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (3dd8a8, 0, 0, 0, 0, 0) + 40
----------------- lwp# 18 / thread# 17 --------------------
ff29f428 ___lwp_cond_wait (65b7a0, 65b788, ef681128, fe4123c4, ff2968f4, ef681120) + 8
ff296a7c _lwp_cond_timedwait (2ea2b88, 44b36759, ef681248, 65b788, 65b7a0, ff2969e4) + 98
fdeb4974 __1cNObjectMonitorEwait6MxipnGThread__v_ (120400, fe406ef0, fe4238d8, fe3be000, 65b550, 120420) + 7a8
fdeb5978 __1cSObjectSynchronizerEwait6FnGHandle_xpnGThread__v_ (120402, 86d4, 0, 65b550, 8400, fe3be000) + e8
fdeb5628 JVM_MonitorWait (0, 3dcdb4, 65b550, fe412d84, 0, 1) + 31c
f840e22c ???????? (91, ef6814b4, ef681430, ffffff80, ef6, 0)
f840e1d0 ???????? (f1631648, b6, 0, c, f00d7f28, ef681448)
f8405764 ???????? (f007ea58, fe4163d4, 0, f8419354, 8800, ef681508)
f8405764 ???????? (2000, 2, 0, f84195a0, ef60e110, ef6815a0)
f8400218 ???????? (ef681688, ef681888, a, f456d6b8, f840ba20, ef6817a0)
fdd9a808 __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 65b550, ef681798, ef681698, 4, ef681888) + 5a0
fdec319c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (7a9c, 65b550, 3dcda0, 3dcdac, 3dcda8, f007ea58) + 188
fdee2700 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (f402fc58, 65b550, 3dd18c, fe424640, fe424710, fe424130) + 134
fdede29c __1cKJavaThreadDrun6M_v_ (65b550, 18, fe40c790, 6c00, 7dd4, 7c00) + 1d8
fe264240 __1cG_start6Fpv_0_ (65b550, 3b62, fe3be000, 0, 4f24, 4c00) + 208
ff37b01c _thread_start (65b550, 0, 0, 0, 0, 0) + 40
-------------------------- thread# 3 --------------------
ff36d9b8 _reap_wait (ff390980, 1e924, 0, ff38c000, 0, 0) + 38
ff36d710 _reaper (ff38ce00, ff392708, ff390980, ff38cdd8, 1, fe400000) + 38
ff37b01c _thread_start (0, 0, 0, 0, 0, 0) + 40 -
i switched to the classic 'landscape' and when i reboot, it just stays at the greay screen, with the macintosh logo, and a blinking question mark. ive tried several methods of key combinations with rebooting etc.. i just bought this. please help.
I bought this off of craigslist with my christmas money, TODAY. i really need help, i have OS X experience from school, just not OS 9x. I need to reboot back to OS X asap. anything that may help is very appreciated. Thank You.
Chris.Are you able to start up in Safe Mode?
http://support.apple.com/kb/HT1455?viewlocale=en_US
If this works you will see the normal desktop Once completely started up in Safe Mode, try to restart normally and go to Applications > Utilities > Disk Utility. Click on the top hard drive icon in the left sidebar and note the S.M.A.R.T. status at the bottom right of the pane. What does it say?
Select the named boot volume in the left sidebar, ("Macintosh HD" unless it has been renamed). What is the hard drive capacity and how much space remains available on it? Repair permissions on it.
See if you are able to do a little hard drive maintenance to help things out. -
Question about mapping a JAVA Interface with Flex
I am using Granite Data Services (Java backend) with my Flex
client.
The Java server has an Interface called
public interface IService {String getServiceName();}
The flex client makes a remote service call on the server
POJO which returns any implementation of the specified interface.
On the flex side I have an interface
[Bindable]
[RemoteClass(alias="com.*****.proxy.pojo.IService")]
public interface IService{function getServiceName():String;}
As shown i am binding it to the server interface.
From the client I make a call to the server and handle the
result as shown below
var serviceInstance:IService =
(remoteO.testInterface.lastResult as IService);
Alert.show("Service Name :
"+serviceInstance.getServiceName());
The call reaches the server and the remote method is being
called however the Alert is not working.
Please Help !!//Start other thread closeT
System.exit(0)
//code for thread closeT
//wait 10 s
Runtime.getRuntime().halt()
Gil -
Java function return array of number
Hi,
I have a Java method that returns a BigDecimal[]. Already loaded it into Oracle. Now, how can I write the call spec?
I tried creating a PL/SQL table type, but I either I'm missing something or I'm doing this wrong:
CREATE OR REPLACE TYPE TRANS_TAB AS TABLE OF NUMBER;Then, the function:
FUNCTION FN_TRANS(id NUMBER, name VARCHAR2, amount NUMBER)
RETURN TRANS_TAB AS LANGUAGE JAVA
NAME 'compTrans(int, java.lang.String, java.math.BigDecimal) return java.math.BigDecimal[]';Executing this gives an error:
Error: ORA-00932: inconsistent datatypes: expected a return value that is an instance of a user defined Java class convertible to an Oracle type got an object that could not be converted
Question, how do we create the Java function with return value? Thank you. :)Hi,
I found this example on Asktom: http://asktom.oracle.com/pls/asktom/f?p=100:11:3258786576394300::::P11_QUESTION_ID:986230504001
Looks like you have to use Oracle.sql.ARRAY and to conversion on the Java side.
Hopes this will help.
Herald ten Dam
Superconsult.nl -
I have this bit of code
public class BubbleSort {
public static void main(String[] args) {
for (int st=0; st<args.length; st++){
int st_to_int = Integer.parseInt(args[st]);
System.out.println(st_to_int);
how can I convert st_to_int to arrays[7] of interger of 7 ARRAYSDear warnerja,
I tried it but it came up with this error
BubbleSort.java:12: ']' expected
int st_to_int[st] = Integer.parseInt(args[st]);
^
reply to
If I interpret your question correctly, I think you want something like:
int[] st_to_int = new int[args.length];
for (int st = 0; st < args.length; st++)
st_to_int[st] = Integer.parseInt(args[st]);
}
Maybe you are looking for
-
How to Draw table in SAPscript ???
Hi all Guru of SAPScript! I want to draw a table with column and row in SAPscript. Who can help me step by step? Thanks! Edited by: kathy a on May 6, 2008 11:53 AM
-
Compatibility of OMWB and Oracle Database Express Edition
Hi, I have been searching all over but can't find information on migrating MS SQL 2000 databases to Oracle Database Express. When I perform the migration, all seems to go well, but then only the tablespaces are visible in Oracle Database Express Edit
-
Global Correlation and Anomaly detection drop messages?
We've implemented an SSP-40 and were wondering if there were event messages for Global Correlation or Anomaly detection drops. We seem to only have signature event messages. Dennis
-
How to declared an array of inner class ?
can we declare array of inner class ?
-
Browser video stream in internet explorer - Windows phone 8.1
I want to create a webpage that can stream a LIVE video broadcast. And I want it to work with Internet explorer in windows phone 8.1. Is this possible? I was thinking about using jwplayer but I don't think it works with Windows Phone any ideas?