more jdk1.2beta3 pickiness

Here's another new pickiness by jdk1.2beta3:
 
> demedici% java DisplayTest 10 pmsl.nc
> 10: test netCDF adapter
> java.lang.IllegalAccessError: try to access method 
> visad/DerivedUnit.<init>(I)V from class visad/DerivedUnit$Op
>         at visad.DerivedUnit$Op.multOp(DerivedUnit.java:257)
>         at visad.DerivedUnit.divide(DerivedUnit.java:372)
>         at visad.BaseUnit.divide(BaseUnit.java:552)
>         at visad.Unit.divide(Unit.java:321)
>         at 
> visad.data.netcdf.units.DefaultUnitsDB.<init>(DefaultUnitsDB.java:514)
>         at 
> visad.data.netcdf.units.DefaultUnitsDB.instance(DefaultUnitsDB.java:1037)
>         at
>         at
>         at visad.data.netcdf.ImportVar.setUnit(ImportVar.java:101)
>         at visad.data.netcdf.ImportVar.<init>(ImportVar.java:78)
>         at visad.data.netcdf.NcNumber.<init>(NcNumber.java:74)
>         at visad.data.netcdf.NcReal.<init>(ImportVar.java:1025)
>         at visad.data.netcdf.NcFloat.<init>(ImportVar.java:1075)
>         at visad.data.netcdf.ImportVar.create(ImportVar.java:142)
>         at 
> visad.data.netcdf.NetcdfAdapter.setFunctionSet(NetcdfAdapter.java:94)
>         at visad.data.netcdf.NetcdfAdapter.<init>(NetcdfAdapter.java:66)
>         at visad.data.netcdf.Plain.open(Plain.java:132)
>         at DisplayTest.main(DisplayTest.java:481)
> demedici%
 
I fixed this by changing visad/DerivedUnit.java, line 195, from:
 
    private DerivedUnit(int n)
 
to:
 
    DerivedUnit(int n)
 
Steve, I think the authors of jdk1.2beta3 have it in for you ;)
 
Cheers,
Bill
 
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
whibbard@xxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html

  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: