This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 15607 - compiler target not remembered
Summary: compiler target not remembered
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-18 19:24 UTC by athompson
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2001-09-18 19:24:53 UTC
not remembered for external, internal, or fast compilers

1. set 'target' under Tools|Options ==> Building|Compiler Types|External
compilation.
2. restart IDE.
3. target reset to 'none'.

this may be related to bug 15057.
Comment 1 Jesse Glick 2001-09-19 14:01:30 UTC
You are not actually using the crosscompile module, I imagine. It has
been useless since NB 3.1 or thereabouts.
Comment 2 Svata Dedic 2001-09-19 16:25:49 UTC
Tried to reproduce on build 091920001* and it works properly the bug
is either fixed, or triggered by a different sequence of events.
I doubt that it is related to #15057 - that one is triggered
specifically by project switching during one IDE session.
Comment 3 athompson 2001-09-19 22:10:03 UTC
i have dupplicated the problem on 3 machines so far (2 at work and one
at home). however, they all have some things in common:
  jdk 1.4
  mdi
  win2000
  using multiple mounted directories, and the target mount is not the
first one.

maybe this will help.
Comment 4 Svata Dedic 2001-09-20 05:30:21 UTC
It won't (at least not much) - which version of the IDE do you use ? 
Please give me either release number, or even better build number of 
it (or attach the first part of your ide.log, which shows both of 
them).
Comment 5 athompson 2001-09-20 11:28:41 UTC
problem happens in both the 13 sep and 18 sep builds
Comment 6 Svata Dedic 2001-09-20 11:59:14 UTC
Will investigate: cannot reproduce on my Linux at all, but the bug
"works" reliably on Win2000.
Comment 7 Svata Dedic 2001-09-20 14:34:37 UTC
Finally seems fixed. JDK-1.4 was the key point, since the 
deserialization was broken in the compiler type implementation in a 
way that passed checks done by earlier JDKs.
Comment 8 Svata Dedic 2001-09-20 14:35:29 UTC
Notice: the bug most probably appears also in Forte4j 3.0 - it's 
corrected in JavaCompilerType.java, version 1.28
Comment 9 athompson 2001-10-03 04:03:59 UTC
not working again as of 02 oct build. in fact, no compiler options are
saved. if you try to reset them after restart, you get an FSException.
Comment 10 athompson 2001-10-03 15:10:07 UTC
working again as of 03 oct build. perhaps fixed by fix of bug 16093...
Comment 11 Svata Dedic 2001-10-03 15:32:51 UTC
You're lucky. I can't even create a new project with the build from
Oct 3rd.
Comment 12 Svata Dedic 2001-10-04 10:14:03 UTC
works OK (different compiler settings) in the new dev build.
Also see bug #16219
Comment 13 Quality Engineering 2003-07-01 13:11:26 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 14 Quality Engineering 2003-07-01 13:17:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 15 Quality Engineering 2007-09-20 10:09:41 UTC
Reorganization of java component