Issue 16626 - Wont compile with JDK 1.4.2
Summary: Wont compile with JDK 1.4.2
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 2000
: P3 Trivial
Target Milestone: ---
Assignee: quetschke
QA Contact: issues@api
URL:
Keywords:
: 14512 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-07-09 20:55 UTC by Unknown
Modified: 2013-02-24 21:09 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch that was applied to cws_src680_sdk08 (1.75 KB, patch)
2003-10-29 16:37 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-07-09 20:55:29 UTC
When I use JDK 1.4.2 to compile OpenOffice tag ooo11beta2,
I get several subtle error messages. Installation of JDK 1.4.1 solved
the problems, so I assume it is JDK 1.4.2 that makes the problems.

The obvious compilation problems happen in following projects:
1. setup2/util
When compiling setup2/util/setup_services.rdb regcomp program fails with following
error message:
error (CannotRegisterImplementationException): Could not create Java
implementation loader

2. odk\source\OOSupport
Comment 1 Unknown 2003-07-09 20:57:21 UTC
2. odk\source\OOSupport

When compiling OOSupport, I get following error messages:
...
org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel
location: package openide
perchance you meant 'WizardDescriptor.Panel'
   public org.openide.WizardDescriptor$Panel current() {
                     ^
org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel
location: package openide
perchance you meant 'WizardDescriptor.Panel'
 public org.openide.WizardDescriptor$Panel current()
                   ^
org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel
location: package openide
perchance you meant 'WizardDescriptor.Panel'
   public org.openide.WizardDescriptor$Panel current() {
                     ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
dmake:  Error code 129, while making
'..\..\wntmsci9.pro\class\oosupport.nbm'
---*RULES.MK*---
Comment 2 Unknown 2003-07-09 20:58:51 UTC
Files listed above mention class WizardDescriptor$Panel that should
really be
WizardDescriptor.Panel . After manual fix, compiltaion continued.
I dont know whether the fix worked as I was unable to build OO for
other reasons.

org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203
org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210
org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217
Comment 3 quetschke 2003-07-09 22:55:21 UTC
I confirm the issue. I verified the odk problem with rc2.

But this is not a porting issue, but an api/odk or setup2/installation
problem.

Assigning to api. Please file only one problem per issue.
Comment 4 ooo 2003-07-10 08:32:11 UTC
The Netbeans wizards are not supported currently.  I will check
whether they are in the build list, and remove them.  If you compiled
directly in the directories, it might even happen with ALL Java SDK
versions.
Comment 5 intersol 2003-08-05 11:37:02 UTC
It doesnt compile on 1.1 RC2 too. I sould be fixed. JDK 1.4.2 is 
stable. I have problems with /accessibility.\.
Comment 6 ohallot 2003-08-18 10:59:44 UTC
For the records, the same issue exist in RC3, with Linux + JDK 1.4.2
Comment 7 ooo 2003-09-02 08:42:57 UTC
As I said, it is NOT really an issue.  You are compiling sources which
are not in the build list. 
Comment 8 quetschke 2003-09-03 06:55:02 UTC
> As I said, it is NOT really an issue.  You are compiling sources which
> are not in the build list. 

No, that is not true! I took a fresh mws_srx645 checkout and started a
"build -all" in instsetoo (with JDK 1.4.2) and it fails. Obviously
they are in the build list.

See tinderbox for complete log:
<http://ooo.ximian.com/tinderbox/gunzip.cgi?tree=mws_srx645&brief-log=1062562796.18036>

or here:

-------------
/cygdrive/e/w1/mws_srx645/odk/source/OOSupport
guw.pl javac -classpath
.:../../wntmsci9.pro/class:/cygdrive/c/j2sdk1.4.2/jre/lib/rt.jar:.:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/ridl.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/juh.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jurt.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jarpackager.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/openide.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jakarta-regexp-1.2.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/nbantext.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jhall.jar
-d ../../wntmsci9.pro/class 
org/netbeans/modules/openoffice/InstallationPanel.java	
org/netbeans/modules/openoffice/OOExtensionFilter.java	
org/netbeans/modules/openoffice/OOIDLCompiler.java	
org/netbeans/modules/openoffice/OOIDLCompilerGroup.java	
org/netbeans/modules/openoffice/OOIDLCompilerType.java	
org/netbeans/modules/openoffice/OOIDLCompilerTypeBeanInfo.java	
org/netbeans/modules/openoffice/OOIDLDataLoader.java	
org/netbeans/modules/openoffice/OOIDLDataObject.java	
org/netbeans/modules/openoffice/OOIDLGlobalSettings.java	
org/netbeans/modules/openoffice/OOIDLGlobalSettingsBeanInfo.java	
org/netbeans/modules/openoffice/OOIDLInstaller.java	
org/netbeans/modules/openoffice/OOREGCompiler.java	
org/netbeans/modules/openoffice/OOREGCompilerGroup.java	
org/netbeans/modules/openoffice/OOREGCompilerType.java	
org/netbeans/modules/openoffice/OOREGCompilerTypeBeanInfo.java	
org/netbeans/modules/openoffice/OOTools.java	
org/netbeans/modules/openoffice/OOURDCleanCompiler.java	
org/netbeans/modules/openoffice/OOURDCleanCompilerGroup.java	
org/netbeans/modules/openoffice/OOURDCompiler.java	
org/netbeans/modules/openoffice/OOURDCompilerGroup.java	
org/netbeans/modules/openoffice/OOURDCompilerType.java	
org/netbeans/modules/openoffice/OOURDCompilerTypeBeanInfo.java	
org/netbeans/modules/openoffice/OOURDDataLoader.java	
org/netbeans/modules/openoffice/OOURDDataLoaderBeanInfo.java	
org/netbeans/modules/openoffice/OOURDDataObject.java	
org/netbeans/modules/openoffice/wizard/IDLInterface.java	
org/netbeans/modules/openoffice/wizard/IDLMethod.java	
org/netbeans/modules/openoffice/wizard/IDLParameter.java	
org/netbeans/modules/openoffice/wizard/OOAddInCreateIterator.java	
org/netbeans/modules/openoffice/wizard/OOAddinData.java	
org/netbeans/modules/openoffice/wizard/OOIDLData.java	
org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java	
org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java		org/netbeans/modules/openoffice/wizard/OOServiceData.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateAliasAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateAttributeAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateConstantAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateConstantsAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateEnumAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateEnumEntryAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateExceptionAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateFwdDclAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateInterfaceAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateModuleAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateOperationAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateServiceAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateStructAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateStructMemberAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionDefaultAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionMemberAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateValueBoxAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/CreateValueTypeAction.java
	org/netbeans/modules/openoffice/wizard/actions/idl/DestroyAction.java	
org/netbeans/modules/openoffice/wizard/actions/idl/EditAction.java		org/netbeans/modules/openoffice/wizard/actions/idl/RenameAction.java
	org/netbeans/modules/openoffice/wizard/keys/AliasKey.java		org/netbeans/modules/openoffice/wizard/keys/AttributeKey.java
	org/netbeans/modules/openoffice/wizard/keys/BaseKey.java		org/netbeans/modules/openoffice/wizard/keys/ConstKey.java
	org/netbeans/modules/openoffice/wizard/keys/EnumKey.java		org/netbeans/modules/openoffice/wizard/keys/ForwardDclKey.java
	org/netbeans/modules/openoffice/wizard/keys/InterfaceKey.java		org/netbeans/modules/openoffice/wizard/keys/NameKey.java
	org/netbeans/modules/openoffice/wizard/keys/OperationKey.java		org/netbeans/modules/openoffice/wizard/keys/StructKey.java
	org/netbeans/modules/openoffice/wizard/keys/UnionMemberKey.java		org/netbeans/modules/openoffice/wizard/keys/ValueFactoryKey.java
	org/netbeans/modules/openoffice/wizard/keys/ValueKey.java		org/netbeans/modules/openoffice/wizard/nodes/AliasNode.java
	org/netbeans/modules/openoffice/wizard/nodes/AttributeNode.java		org/netbeans/modules/openoffice/wizard/nodes/BaseNode.java
	org/netbeans/modules/openoffice/wizard/nodes/ConstantNode.java		org/netbeans/modules/openoffice/wizard/nodes/ConstantsNode.java
	org/netbeans/modules/openoffice/wizard/nodes/EnumEntryNode.java		org/netbeans/modules/openoffice/wizard/nodes/EnumNode.java
	org/netbeans/modules/openoffice/wizard/nodes/ExceptionNode.java		org/netbeans/modules/openoffice/wizard/nodes/ForwardDcl.java
	org/netbeans/modules/openoffice/wizard/nodes/IDLBaseChildren.java		org/netbeans/modules/openoffice/wizard/nodes/IdlFileNode.java
	org/netbeans/modules/openoffice/wizard/nodes/InterfaceNode.java		org/netbeans/modules/openoffice/wizard/nodes/LeafNode.java
	org/netbeans/modules/openoffice/wizard/nodes/ModuleNode.java		org/netbeans/modules/openoffice/wizard/nodes/MovableNode.java
	org/netbeans/modules/openoffice/wizard/nodes/OperationNode.java		org/netbeans/modules/openoffice/wizard/nodes/SENode.java
	org/netbeans/modules/openoffice/wizard/nodes/ServiceNode.java		org/netbeans/modules/openoffice/wizard/nodes/StructMemberNode.java
	org/netbeans/modules/openoffice/wizard/nodes/StructNode.java		org/netbeans/modules/openoffice/wizard/nodes/UnionMemberNode.java
	org/netbeans/modules/openoffice/wizard/nodes/UnionNode.java		org/netbeans/modules/openoffice/wizard/nodes/ValueBoxNode.java
	org/netbeans/modules/openoffice/wizard/nodes/ValueNode.java		org/netbeans/modules/openoffice/wizard/panels/addin/MethodDescriptionPanel.java
	org/netbeans/modules/openoffice/wizard/panels/service/IDLFilter.java		org/netbeans/modules/openoffice/wizard/panels/service/InterfacePickUp.java
	org/netbeans/modules/openoffice/wizard/panels/service/LanguageSelectionPanel.java
	org/netbeans/modules/openoffice/wizard/panels/service/NewTypesPanel.java
	org/netbeans/modules/openoffice/wizard/panels/service/OOInterfacePanel.java
	org/netbeans/modules/openoffice/wizard/panels/service/OOServiceClassPanel.java
	org/netbeans/modules/openoffice/wizard/panels/service/ServiceSelectionPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/AliasPanel.java		org/netbeans/modules/openoffice/wizard/panels/idl/AttributePanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/BasePanel.java		org/netbeans/modules/openoffice/wizard/panels/idl/ConstantsPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/ConstPanel.java		org/netbeans/modules/openoffice/wizard/panels/idl/CreateIDLPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/EnumPanel.java		org/netbeans/modules/openoffice/wizard/panels/idl/ForwardDclPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/InterfacePanel.java	
org/netbeans/modules/openoffice/wizard/panels/idl/ModuleCreatePanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/OperationPanel.java	
org/netbeans/modules/openoffice/wizard/panels/idl/UnionMemberPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/UnionPanel.java		org/netbeans/modules/openoffice/wizard/panels/idl/ValueBoxPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/ValueFactoryPanel.java
	org/netbeans/modules/openoffice/wizard/panels/idl/ValuePanel.java		org/netbeans/modules/openoffice/wizard/util/AbstractMoveableNode.java
	org/netbeans/modules/openoffice/wizard/util/AliasCreator.java		org/netbeans/modules/openoffice/wizard/util/AttributeCreator.java
	org/netbeans/modules/openoffice/wizard/util/ConstantCreator.java		org/netbeans/modules/openoffice/wizard/util/ConstantsCreator.java
	org/netbeans/modules/openoffice/wizard/util/Create.java		org/netbeans/modules/openoffice/wizard/util/EditCookie.java
	org/netbeans/modules/openoffice/wizard/util/EnumCreator.java		org/netbeans/modules/openoffice/wizard/util/EnumEntryCreator.java		org/netbeans/modules/openoffice/wizard/util/ExceptionCreator.java		org/netbeans/modules/openoffice/wizard/util/FwdDclCreator.java		org/netbeans/modules/openoffice/wizard/util/InterfaceCreator.java		org/netbeans/modules/openoffice/wizard/util/ModuleCreator.java		org/netbeans/modules/openoffice/wizard/util/OOIDLParser.java		org/netbeans/modules/openoffice/wizard/util/OperationCreator.java		org/netbeans/modules/openoffice/wizard/util/ServiceCreator.java		org/netbeans/modules/openoffice/wizard/util/StructCreator.java		org/netbeans/modules/openoffice/wizard/util/StructMemberCreator.java		org/netbeans/modules/openoffice/wizard/util/UnionCreator.java		org/netbeans/modules/openoffice/wizard/util/UnionDefaultCreator.java		org/netbeans/modules/openoffice/wizard/util/UnionMemberCreator.java		org/netbeans/modules/openoffice/wizard/util/ValueBoxCreator.java		org/netbeans/modules/openoffice/wizard/util/ValueCreator.java		org/netbeans/modules/openoffice/wizard/util/ValueTypeCreator.java		MakeModule.java
Command: javac
org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel 
location: package openide
perchance you meant 'WizardDescriptor.Panel'
    public org.openide.WizardDescriptor$Panel current() {
                      ^
org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel 
location: package openide
perchance you meant 'WizardDescriptor.Panel'
  public org.openide.WizardDescriptor$Panel current()
                    ^
org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217:
cannot resolve symbol
symbol  : class WizardDescriptor$Panel 
location: package openide
perchance you meant 'WizardDescriptor.Panel'
    public org.openide.WizardDescriptor$Panel current() {
                      ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
dmake:  Error code 1, while making
'../../wntmsci9.pro/class/oosupport.nbm'
echo: No match.

ERROR: Error 65280 occurred while making
/cygdrive/e/w1/mws_srx645/odk/source/OOSupport
dmake:  Error code 1, while making 'build_all'
echo: No match.
 
Comment 9 jsc 2003-09-17 12:37:01 UTC
JSC: the OOsupport module should be removed from the build list
because it is not supported at the moment and i can't give any
information about the quality of the source code. I will remove it on
my cws src680/sdk08.
Comment 10 jsc 2003-09-17 13:04:06 UTC
JSC:  assign to me
Comment 11 jsc 2003-09-17 13:05:44 UTC
JSC: fixed in src680 cws sdk08
Comment 12 svante.schubert 2003-10-15 19:08:10 UTC
Pls test as discussed
Comment 13 steffen.grund 2003-10-16 15:54:54 UTC
SG: OOSetup has been removed from build.lst
Comment 14 steffen.grund 2003-10-16 15:55:28 UTC
SG: verified.
Comment 15 quetschke 2003-10-28 08:01:51 UTC
*** Issue 14512 has been marked as a duplicate of this issue. ***
Comment 16 quetschke 2003-10-29 16:37:08 UTC
Created attachment 10757 [details]
Patch that was applied to cws_src680_sdk08
Comment 17 quetschke 2003-10-29 16:39:01 UTC
Can this patch please be applied to cws_srx645_ooo111fix1 to get it into
the OOo 1.1.x series?
Comment 18 sander_traveling 2003-10-29 23:21:34 UTC
+1 we should IMHO do it
Comment 19 utomo99 2003-10-30 01:51:45 UTC
+1 if it is not risky/possible create another bugs to the other area. 
but for 1.1.1 we still have 1 month to test :)

add myself cc
Comment 20 quetschke 2003-10-31 15:51:11 UTC
Committed to cws_srx645_ooo111fix1.
Comment 21 steffen.grund 2003-10-31 16:41:50 UTC
Normally I would close this bug, since the fix is integrated into the
master on src680.
I am a bit confused now.
AFAIK, this bug is not part of the ooo111fix1 cws. If something is
done on this bug in that cws, it should be added there first, and it
should be assigned to the person who fixes.
So, who fixes the bug on cws ooo111fix1? I would send the bug to
her/him. After the fix I am willing to verify again.
Comment 22 quetschke 2003-10-31 18:49:42 UTC
> AFAIK, this bug is not part of the ooo111fix1 cws.
It was. odk\source\OOSupport was included in the build list, and
this module fails with JDK 1.4.2.

> If something is
> done on this bug in that cws, it should be added there first, and it
> should be assigned to the person who fixes.
> So, who fixes the bug on cws ooo111fix1?
jsc fixed it on cws_src680_sdk08. I only applied the fix that was
used for cws_src680_sdk08 to ...fix1.
This was approved by Sander on IRC, cc'ing Sander.

> I would send the bug to
> her/him. After the fix I am willing to verify again.
Send the bug to Jürgen or myself, I already committed the fix, so
I'd resolve it fixed immediately, so you can verify it.

Volker
Comment 23 steffen.grund 2003-11-03 13:00:19 UTC
reassigned to Volker Quetschke.
Comment 24 quetschke 2003-11-03 13:49:57 UTC
The fix is already committed to cws_srx645_ooo111fix1.
Nobody complained up to now, but as already mentioned:

vq->sg: Please verify ;-)

I set the target to 1.1.1 because it is fixed in that version.
Comment 25 pillai.shikha 2003-12-30 07:49:48 UTC
I'm building OOo 1.1 on Win 2000, with jdk 1.4.2_03, and the build breaks in 
setup2/util with

                   regcomp -br ..\wntmsci9.pro\bin\regcomp.rdb
\
                        -register                                       \
                        -r ..\wntmsci9.pro\bin\setup_services.tmp
\
                        -l com.sun.star.loader.Java2                    \
                        -env:UNO_JAVA_COMPPATH=file:///e:/oo_1.1_src/solver/645/
wntmsci9.pro/bin        \
                        -c vnd.sun.star.expand:$UNO_JAVA_COMPPATH/java_uno_acces
sbridge.jar
register component 'vnd.sun.star.expand:$UNO_JAVA_COMPPATH/java_uno_accessbridge
.jar' in registry '..\wntmsci9.pro\bin\setup_services.tmp' failed!
error (CannotRegisterImplementationException): Could not create Java implementat
ion loader
dmake:  Error code 129, while making '..\wntmsci9.pro\bin\setup_services.rdb'

I am inferring from this issue that it is because of jdk 1.4.2_03... Is there 
any way to continue with the build, other than installing jdk 1.4.1?

-sgp
Comment 26 steffen.grund 2004-07-16 17:43:00 UTC
.
Comment 27 steffen.grund 2004-07-16 17:45:10 UTC
reassign
Comment 28 steffen.grund 2004-07-16 17:45:28 UTC
.
Comment 29 steffen.grund 2004-07-16 17:46:43 UTC
checked on SRX645_m45: OOSupport is removed from the odk build list -> closed.