Community
Participate
Working Groups
Eclipse N200303060010 RH 8.0, IBM JDK 1.3.1 I install eclipse and launch a new workspace. See bug #33987 for the first log generated prior to importing any projects. Turn off automatic compile Import all projects as source required for the plugin org.eclipse.ui, except for org.eclipse.swt and org.eclipse.swt.gtk, which are imported as binary. Turn on compile Now open the class PropertySheetViewer. The following log is displayed to the console, no log is genereated. java.lang.Error: Unresolved compilation problem: Unreachable catch block at java.lang.reflect.Constructor.newInstance(Native Method) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$CompilationUnitAnnotationModel.beginReporting(CompilationUnitDocumentProvider.java:409) at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:61) at org.eclipse.jdt.internal.core.JavaModelOperation.execute(JavaModelOperation.java:365) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:681) at org.eclipse.jdt.internal.core.JavaElement.runOperation(JavaElement.java:538) at org.eclipse.jdt.internal.core.WorkingCopy.reconcile(WorkingCopy.java:438) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:72) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:126) at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:104) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:155)
This is a consequence of JDT/UI not having reacted to a change into JDT/Core, which caused the nightly build to have compile errors. What you saw is the expected behavior when running code which had compile errors, and exception is thrown to remind of this issue. (one can turn this compiler feature, i.e. if error detected then no classfile is produced)
Got addressed for RC2.
I20030318